Add a testcase for Command
This commit is contained in:
parent
f7287bdf56
commit
f5fb79cc63
|
@ -0,0 +1,10 @@
|
|||
from tornado.ioloop import IOLoop
|
||||
from tests.helper import ExternalVersionTestCase
|
||||
|
||||
|
||||
class CMDTest(ExternalVersionTestCase):
|
||||
def get_new_ioloop(self):
|
||||
return IOLoop.instance()
|
||||
|
||||
def test_cmd(self):
|
||||
self.assertEqual(self.sync_get_version("example", {"cmd": "echo Meow"}), "Meow")
|
Loading…
Reference in New Issue