瀏覽代碼

remove invalid smb platform test

Jens Keim 6 年之前
父節點
當前提交
15ff4a8cda
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      code/Test/test_SMBScanAttack.py

+ 0 - 4
code/Test/test_SMBScanAttack.py

@@ -39,10 +39,6 @@ class UnitTestSMBScan(Test.ID2TAttackTest):
         with self.assertRaises(SystemExit):
             self.checksum_test([['SMBScanAttack', 'protocol.version=42']], 'somehash')
 
-    def test_smbscan_invalid_smb_platform(self):
-        with self.assertRaises(SystemExit):
-            self.checksum_test([['SMBScanAttack', 'hosting.version=1337']], 'somehash')
-
     def test_smbscan_port_shuffle(self):
         with mock.patch("ID2TLib.Utility.get_rnd_os", return_value="win7"):
             self.checksum_test([['SMBScanAttack', 'ip.src=192.168.178.1', 'ip.dst=192.168.178.5-192.168.178.10',