6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-16 10:05:18 +00:00
tutor/tests/commands/test_k8s.py

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)