mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-06 04:52:22 -07:00
11 lines
No EOL
263 B
Python
11 lines
No EOL
263 B
Python
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, msg=res)
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main() |