6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-15 01:34:14 +00:00
tutor/tests/commands/test_k8s.py

14 lines
330 B
Python
Raw Normal View History

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)