Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NvdLaan committed Sep 2, 2024
1 parent 55052c9 commit f04b8e8
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/api/tasks/visit.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_steps():
return [__class__()]


class test_bepalen_processtap_standaard(GenericUserTask, task_bepalen_processtap_vv):
class test_bepalen_processtap_vv(GenericUserTask, task_bepalen_processtap_vv):
def __init__(self, visit_next_step=VisitNextStep.VISIT_WITHOUT_AUTHORIZATION):
super().__init__(visit_next_step={"value": visit_next_step})

Expand Down Expand Up @@ -87,7 +87,7 @@ def __init__(
def get_steps():
# No preceiding step, case was just created
return [
*test_bepalen_processtap_standaard.get_steps(),
*test_bepalen_processtap_vv.get_steps(),
__class__(),
]

Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/flows/test_aanschrijving.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
test_verwerk_aanschrijving,
)
from api.tasks.visit import (
test_bepalen_processtap_standaard,
test_bepalen_processtap_vv,
test_doorgeven_status_top,
test_inplannen_status,
)
Expand All @@ -23,7 +23,7 @@
class TestViolationLegalizationLetter(DefaultAPITest):
def test(self):
self.get_case().run_steps(
test_bepalen_processtap_standaard(),
test_bepalen_processtap_vv(),
test_inplannen_status(),
test_doorgeven_status_top(),
test_create_debrief(violation=Violation.YES),
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/flows/test_invalid_civilian_objection.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
test_verwerk_aanschrijving,
)
from api.tasks.visit import (
test_bepalen_processtap_standaard,
test_bepalen_processtap_vv,
test_doorgeven_status_top,
test_inplannen_status,
)
Expand All @@ -31,7 +31,7 @@
class TestInvalidCivilianObjection(DefaultAPITest):
def test(self):
self.get_case().run_steps(
test_bepalen_processtap_standaard(),
test_bepalen_processtap_vv(),
test_inplannen_status(),
test_doorgeven_status_top(),
test_create_debrief(violation=Violation.YES),
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/flows/test_multiple_summons.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
test_afzien_concept_aanschrijving,
test_opstellen_concept_aanschrijving,
)
from api.tasks.visit import test_bepalen_processtap_standaard
from api.tasks.visit import test_bepalen_processtap_vv
from api.test import DefaultAPITest
from api.validators import ValidateOpenTasks

Expand All @@ -16,7 +16,7 @@ def test(self):
case.add_process(Process.HolidayRental.ADD_SUMMON),
case.run_steps(
ValidateOpenTasks(
test_bepalen_processtap_standaard, test_opstellen_concept_aanschrijving
test_bepalen_processtap_vv, test_opstellen_concept_aanschrijving
),
*test_opstellen_verkorte_rapportage_huisbezoek.get_steps(),
ValidateOpenTasks(test_opstellen_concept_aanschrijving),
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/flows/test_no_civilian_objection.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
test_verwerk_aanschrijving,
)
from api.tasks.visit import (
test_bepalen_processtap_standaard,
test_bepalen_processtap_vv,
test_doorgeven_status_top,
test_inplannen_status,
)
Expand All @@ -26,7 +26,7 @@
class TestNoCivilianObjection(DefaultAPITest):
def test(self):
self.get_case().run_steps(
test_bepalen_processtap_standaard(),
test_bepalen_processtap_vv(),
test_inplannen_status(),
test_doorgeven_status_top(),
test_create_debrief(violation=Violation.YES),
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/flows/test_no_violation.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
test_terugkoppelen_melder_1,
)
from api.tasks.visit import (
test_bepalen_processtap_standaard,
test_bepalen_processtap_vv,
test_doorgeven_status_top,
test_inplannen_status,
)
Expand All @@ -17,7 +17,7 @@
class TestNoViolation(DefaultAPITest):
def test(self):
self.get_case().run_steps(
test_bepalen_processtap_standaard(),
test_bepalen_processtap_vv(),
test_inplannen_status(),
test_doorgeven_status_top(),
test_create_debrief(violation=Violation.NO),
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/flows/test_sluiting.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
test_verwerk_aanschrijving,
)
from api.tasks.visit import (
test_bepalen_processtap_standaard,
test_bepalen_processtap_vv,
test_doorgeven_status_top,
test_inplannen_status,
)
Expand All @@ -34,7 +34,7 @@
class TestViolationClosure(DefaultAPITest):
def test_direct(self):
self.get_case().run_steps(
test_bepalen_processtap_standaard(),
test_bepalen_processtap_vv(),
test_inplannen_status(),
test_doorgeven_status_top(),
test_create_debrief(violation=Violation.YES),
Expand Down
8 changes: 4 additions & 4 deletions e2e-tests/flows/test_timeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
test_terugkoppelen_melder_1,
)
from api.tasks.visit import (
test_bepalen_processtap_standaard,
test_bepalen_processtap_vv,
test_doorgeven_status_top,
test_inplannen_status,
)
Expand All @@ -18,7 +18,7 @@ class TestTimeline(DefaultAPITest):
def test_no_identification(self):
case = self.get_case()
case.run_steps(
test_bepalen_processtap_standaard(),
test_bepalen_processtap_vv(),
test_inplannen_status(),
ValidateOpenTasks(test_doorgeven_status_top),
)
Expand All @@ -28,7 +28,7 @@ def test_no_identification(self):

def test_home_visit_report(self):
self.get_case().run_steps(
test_bepalen_processtap_standaard(),
test_bepalen_processtap_vv(),
test_inplannen_status(),
test_doorgeven_status_top(),
test_create_debrief(violation=Violation.NO),
Expand All @@ -47,7 +47,7 @@ def get_case_data(self):
def test(self):
case = self.get_case()
case.run_steps(
test_bepalen_processtap_standaard(),
test_bepalen_processtap_vv(),
test_inplannen_status(),
ValidateOpenTasks(test_doorgeven_status_top),
)
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/user_tasks/test_inplannen_status.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from api.tasks.visit import (
test_bepalen_processtap_standaard,
test_bepalen_processtap_vv,
test_doorgeven_status_top,
test_inplannen_status,
)
Expand All @@ -10,7 +10,7 @@
class task_inplannen_status_test(DefaultAPITest):
def test(self):
self.get_case().run_steps(
test_bepalen_processtap_standaard(),
test_bepalen_processtap_vv(),
test_inplannen_status(),
ValidateOpenTasks(test_doorgeven_status_top),
)

0 comments on commit f04b8e8

Please sign in to comment.