Commit 789cecb3 by fwkz

Adding modules' static analysis test.

parent 0b4784e1
...@@ -8,9 +8,10 @@ except ImportError: ...@@ -8,9 +8,10 @@ except ImportError:
import mock import mock
from routersploit.utils import index_modules from routersploit.utils import index_modules
from routersploit.test import RoutersploitTestCase
class UtilsTest(unittest.TestCase): class UtilsTest(RoutersploitTestCase):
@mock.patch('os.walk') @mock.patch('os.walk')
def test_load_modules_01(self, mock_walk): def test_load_modules_01(self, mock_walk):
mock_walk.return_value = ( mock_walk.return_value = (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment