nvchecker/tests/test_cmd.py
2017-02-28 15:27:24 +08:00

9 lines
284 B
Python

# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from tests.helper import ExternalVersionTestCase
class CMDTest(ExternalVersionTestCase):
def test_cmd(self):
self.assertEqual(self.sync_get_version("example", {"cmd": "echo Meow"}), "Meow")