From 971abfa71420863b9103f3124ac3f117abc7a4bb Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 13 Aug 2015 09:59:23 +0100 Subject: [PATCH] Add test for "Hek" command --- tests/test_bot.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_bot.py b/tests/test_bot.py index da14ec1..1905043 100644 --- a/tests/test_bot.py +++ b/tests/test_bot.py @@ -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