Commit Graph

8 Commits

Author SHA1 Message Date
762734d6a6 cleanups 2019-04-29 22:39:44 +01:00
f922e396de Add mock tests for qualys web 2019-04-25 14:14:03 +01:00
24cf2ca623 Add OpenVAS mock endpoints 2019-04-24 09:06:05 +10:00
73ae99f054 reorganise imports 2019-04-24 09:03:14 +10:00
bd1430ebbf test updates 2019-04-12 00:40:26 +10:00
973c69dffb Updates tests 2019-04-08 17:43:15 +10:00
1ef67d48be Feature error codes (#165)
* Use error codes for failed scans

* Fix indentations

* Fix more indentation

* Continue after failed download

* Add tests for failed scans

* Add more tests

* move definition

* Update nessus.py

This function was used by function `print_scans` which at the same time was an unused one that had been deleted in the PR itself.
2019-04-05 11:36:13 +02:00
71352aee57 Add external API mocking and travis tests (#164)
* Fix closing logging handlers

* Fix *some* unicode issues for nessus and qualys

* Prevent multiple requests to nessus scans endpoint

* More unicode fixes

* Remove unnecessary call

* Fix whitespace

* Add mock module and argument

* Add test config and data

* Fix whitespace again

* Disable qualys_web until data is available

* Use logging module

* Delete report_tracker.db

* Cleanup mock calls

* Add httpretty to requirements

* Refactor into a class

* Updates travis tests

* Fix exit codes

* Remove print statements

* Remove test

* Add test directory as submodule
2019-04-05 10:57:39 +02:00