Files
RSSHub-python/tests/test_cli.py
2019-12-15 21:52:58 +08:00

8 lines
258 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)