mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-08 05:51:48 -07:00
added basic test
This commit is contained in:
parent
81c3400383
commit
7f691244e7
2 changed files with 12 additions and 0 deletions
11
tests/basic_tests.py
Normal file
11
tests/basic_tests.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import unittest
|
||||
from commands import getstatusoutput
|
||||
|
||||
class BasicTests(unittest.TestCase):
|
||||
|
||||
def test_exec(self):
|
||||
status, res = getstatusoutput('sudo python mitmf.py --help')
|
||||
self.assertEqual(0, status)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Loading…
Add table
Add a link
Reference in a new issue