Skip to content

Commit e3fcfe5

Browse files
committed
ZAP Handler: validate handler returns correct results in tests
1 parent c58079a commit e3fcfe5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/utest/zap/test_basic_functionality.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44

55
from testfixtures import compare
66

7-
from oxygen.zap import ZAProxyHandler
87
from oxygen.errors import ZAProxyHandlerException
8+
from oxygen.oxygen_handler_result import validate_oxygen_suite
9+
from oxygen.zap import ZAProxyHandler
10+
911
from ..helpers import (example_robot_output,
1012
get_config,
1113
RESOURCES_PATH,
@@ -312,3 +314,4 @@ def test_check_for_keyword(self, mock_report):
312314
def test_zap_parsing(self):
313315
retval = self.handler.parse_results(RESOURCES_PATH / 'zap' / 'zap.xml')
314316
compare(retval, ZAP_EXPECTED_OUTPUT)
317+
self.assertTrue(validate_oxygen_suite(retval))

0 commit comments

Comments
 (0)