init project

This commit is contained in:
alphardex
2019-01-16 22:45:05 +08:00
commit d9f4136fa4
32 changed files with 1044 additions and 0 deletions

7
tests/test_cli.py Normal file
View File

@@ -0,0 +1,7 @@
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)