Add test for "Hek" command

This commit is contained in:
2015-08-13 09:59:23 +01:00
parent 63e42d6df5
commit 971abfa714

View File

@@ -78,6 +78,12 @@ class DropBotTestCase(TestCase):
self.assertIsInstance(res, tuple)
self.assertIsInstance(res[0], basestring)
@unittest.skipIf(os.environ.get('NO_NETWORK', '0') == '1', 'No networking, skipping test')
def test_cmd_hek(self):
res = self.call_command('hek', ['rifter'])
self.assertIsInstance(res, tuple)
self.assertIsInstance(res[0], basestring)
def test_cmd_r(self):
pass