Minor update of testing

This commit is contained in:
Miroslav Stampar
2020-01-03 13:46:12 +01:00
parent 8ace3363bd
commit 5d62195a41
3 changed files with 16 additions and 1 deletions

View File

@@ -57,6 +57,12 @@ def htmlParser(page):
"""
This function calls a class that parses the input HTML page to
fingerprint the back-end database management system
>>> from lib.core.enums import DBMS
>>> htmlParser("Warning: mysql_fetch_array() expects parameter 1 to be resource") == DBMS.MYSQL
True
>>> threadData = getCurrentThreadData()
>>> threadData.lastErrorPage = None
"""
xmlfile = paths.ERRORS_XML