10 lines
339 B
Python
10 lines
339 B
Python
from catfish import __version__
|
|
from tests import BaseTestCase
|
|
|
|
|
|
class MainCLITestCase(BaseTestCase):
|
|
def test_version(self):
|
|
result = self.cli_runner.invoke(self.cli, ["--version"])
|
|
self.assertEqual(result.exit_code, 0)
|
|
self.assertIn(__version__, result.output)
|
|
self.assertIn("catfish", result.output)
|