From 56cb34568d00080e900cb109ed041077a2e747e6 Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Tue, 11 Aug 2015 16:25:00 +0200 Subject: [PATCH] added caspstone to build deps, added msg param in basic_tests.py --- .travis.yml | 2 +- tests/basic_tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 62e01ea..c224f1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ python: sudo: required before_install: - "sudo apt-get update -qq" - - "sudo apt-get install libpcap0.8-dev libnetfilter-queue-dev" + - "sudo apt-get install libpcap0.8-dev libnetfilter-queue-dev libcapstone2 libcapstone-dev" install: "pip install -r requirements.txt" script: python tests/basic_tests.py diff --git a/tests/basic_tests.py b/tests/basic_tests.py index 585a02a..94506d7 100644 --- a/tests/basic_tests.py +++ b/tests/basic_tests.py @@ -5,7 +5,7 @@ class BasicTests(unittest.TestCase): def test_exec(self): status, res = getstatusoutput('sudo python mitmf.py --help') - self.assertEqual(0, status) + self.assertEqual(0, status, msg=res) if __name__ == '__main__': unittest.main() \ No newline at end of file