test_SQLi.py 650 B

12345678910111213141516171819202122232425
  1. import unittest
  2. import unittest.mock as mock
  3. from Test.GenericTest import GenericTest
  4. from Test.Lib import test_pcap_ips
  5. sha_default = 'a130ecdaf5fd8c09ef8418d2dbe7bd68c54e922553eb9fa703df016115393a46'
  6. """
  7. CURRENT COVERAGE
  8. Name Stmts Miss Cover Missing (lines)
  9. ---------------------------------------------------------------------------
  10. Attack/SQLiAttack.py 159 5 97% 62, 71, 113, 120, 245
  11. """
  12. # TODO: get 100% coverage
  13. class UnitTestSQLi(GenericTest):
  14. def test_default(self):
  15. self.generic_test([['SQLiAttack']], sha_default)
  16. if __name__ == '__main__':
  17. unittest.main()