Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
Add test for solution method.
Browse files Browse the repository at this point in the history
  • Loading branch information
janowagner committed Oct 27, 2019
1 parent 61e6980 commit 513ec3d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_scan_and_result.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2018 Greenbone Networks GmbH
# Copyright (C) 2015-2019 Greenbone Networks GmbH
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
Expand Down Expand Up @@ -136,7 +136,8 @@ def get_insight_vt_as_xml_str(vt_id, insight):
return response

@staticmethod
def get_solution_vt_as_xml_str(vt_id, solution, solution_type=None):
def get_solution_vt_as_xml_str(vt_id, solution, solution_type=None,
solution_method=None):
response = '<solution>Some solution</solution>'

return response
Expand Down Expand Up @@ -583,6 +584,7 @@ def test_get_vts_vts_with_solution(self):
custom="b",
solution="c",
solution_t="d",
solution_m="e",
)

response = secET.fromstring(
Expand Down

0 comments on commit 513ec3d

Please sign in to comment.