mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Stabilization of unittests
This commit is contained in:
parent
732d164538
commit
71d9c6d0f4
31 changed files with 200 additions and 58 deletions
|
|
@ -26,7 +26,7 @@ import unittest
|
|||
from collections import OrderedDict
|
||||
|
||||
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
||||
from _testutils import bootstrap
|
||||
from _testutils import bootstrap, reset_dbms
|
||||
bootstrap()
|
||||
|
||||
from lib.core.common import Backend
|
||||
|
|
@ -165,3 +165,7 @@ class TestJsonlContract(_JsonlDumpCase):
|
|||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
|
||||
def tearDownModule():
|
||||
reset_dbms() # clear any DBMS forced via set_dbms() so it can't leak into later test modules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue