nvchecker/tests/test_cmd.py

7 lines
204 B
Python

from tests.helper import ExternalVersionTestCase
class CMDTest(ExternalVersionTestCase):
def test_cmd(self):
self.assertEqual(self.sync_get_version("example", {"cmd": "echo Meow"}), "Meow")