mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-15 01:34:14 +00:00
14 lines
330 B
Python
14 lines
330 B
Python
|
import unittest
|
||
|
|
||
|
from click.testing import CliRunner
|
||
|
|
||
|
from tutor.commands.k8s import k8s
|
||
|
|
||
|
|
||
|
class K8sTests(unittest.TestCase):
|
||
|
def test_k8s_help(self) -> None:
|
||
|
runner = CliRunner()
|
||
|
result = runner.invoke(k8s, ["--help"])
|
||
|
self.assertEqual(0, result.exit_code)
|
||
|
self.assertIsNone(result.exception)
|