mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 21:12:16 -07:00
doing some testing with tests
This commit is contained in:
parent
3d9e2ac453
commit
a44cf5cd29
2 changed files with 2 additions and 2 deletions
|
@ -7,4 +7,4 @@ before_install:
|
||||||
- "sudo apt-get install libpcap0.8-dev libnetfilter-queue-dev"
|
- "sudo apt-get install libpcap0.8-dev libnetfilter-queue-dev"
|
||||||
|
|
||||||
install: "pip install -r requirements.txt"
|
install: "pip install -r requirements.txt"
|
||||||
script: tests/basic_tests.py
|
script: python tests/basic_tests.py
|
||||||
|
|
|
@ -4,7 +4,7 @@ from commands import getstatusoutput
|
||||||
class BasicTests(unittest.TestCase):
|
class BasicTests(unittest.TestCase):
|
||||||
|
|
||||||
def test_exec(self):
|
def test_exec(self):
|
||||||
status, res = getstatusoutput('python mitmf.py --help')
|
status, res = getstatusoutput('sudo python mitmf.py --help')
|
||||||
self.assertEqual(0, status)
|
self.assertEqual(0, status)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue