mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-08 05:51:48 -07:00
added caspstone to build deps, added msg param in basic_tests.py
This commit is contained in:
parent
a44cf5cd29
commit
56cb34568d
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ python:
|
||||||
sudo: required
|
sudo: required
|
||||||
before_install:
|
before_install:
|
||||||
- "sudo apt-get update -qq"
|
- "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"
|
install: "pip install -r requirements.txt"
|
||||||
script: python tests/basic_tests.py
|
script: python tests/basic_tests.py
|
||||||
|
|
|
@ -5,7 +5,7 @@ class BasicTests(unittest.TestCase):
|
||||||
|
|
||||||
def test_exec(self):
|
def test_exec(self):
|
||||||
status, res = getstatusoutput('sudo python mitmf.py --help')
|
status, res = getstatusoutput('sudo python mitmf.py --help')
|
||||||
self.assertEqual(0, status)
|
self.assertEqual(0, status, msg=res)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
Loading…
Add table
Add a link
Reference in a new issue