Files
RSSHub-python/tests/test_cli.py
2019-01-16 22:45:05 +08:00

8 lines
251 B
Python

from tests.base import BaseTestCase
class CLITestCase(BaseTestCase):
def test_ptshell(self):
result = self.runner.invoke(args=['ptshell'])
self.assertNotIn('ptpython not installed! Use the default shell instead.', result.output)