3
0

test_Joomla.py 657 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 = 'a45bd543ae7416cdc5fd76c886f48990b43075753931683407686aac2cfbc111'
  6. """
  7. CURRENT COVERAGE
  8. Name Stmts Miss Cover Missing (lines)
  9. ---------------------------------------------------------------------------
  10. Attack/JoomlaRegPrivExploit.py 127 4 97% 62, 71, 116, 123
  11. """
  12. # TODO: get 100% coverage
  13. class UnitTestJoomla(GenericTest):
  14. def test_default(self):
  15. self.generic_test([['JoomlaRegPrivExploit']], sha_default)
  16. if __name__ == '__main__':
  17. unittest.main()