nvchecker/tests/test_cmd.py

7 lines
204 B
Python
Raw Normal View History

2015-11-04 12:24:52 +00:00
from tests.helper import ExternalVersionTestCase
class CMDTest(ExternalVersionTestCase):
def test_cmd(self):
self.assertEqual(self.sync_get_version("example", {"cmd": "echo Meow"}), "Meow")