Fix GoalAPI test
@@ -207,6 +207,7 @@ class GoalAPITests(CairisDaemonTestCase):
"No",
"None")
]
+ ngr2 = new_goal_refinements
new_subgoal_refinements = [
RefinementModel("PreventUnauthorised Certificate Access",
"goal",
@@ -214,6 +215,7 @@ class GoalAPITests(CairisDaemonTestCase):
"No",
"None")
]
+ nsr2 = new_subgoal_refinements
new_goal_props = [
GoalEnvironmentProperties(
environmentName=self.existing_environment_name_1,
@@ -235,8 +237,8 @@ class GoalAPITests(CairisDaemonTestCase):
priority='Low',
fitCriterion='None',
issue='Test issue',
- goalRefinements=new_goal_refinements,
- subGoalRefinements=new_subgoal_refinements,
+ goalRefinements=ngr2,
+ subGoalRefinements=nsr2,
concs=[],cas=[]
)
]
