mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fix broken tests
This commit is contained in:
parent
62906f6023
commit
476c9f9c7a
1 changed files with 3 additions and 3 deletions
|
|
@ -1,13 +1,13 @@
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
from backend.condition.condition_trigger_request import ConditionFileType
|
||||||
from backend.condition.lookups.uprn_lookup_csv import UprnLookupLocal
|
from backend.condition.lookups.uprn_lookup_csv import UprnLookupLocal
|
||||||
from backend.condition.parsing.factory import select_parser
|
from backend.condition.parsing.factory import select_parser
|
||||||
from backend.condition.file_type import FileType
|
|
||||||
|
|
||||||
|
|
||||||
def test_selects_lbwf_parser():
|
def test_selects_lbwf_parser():
|
||||||
# arrange
|
# arrange
|
||||||
file_type = FileType.LBWF
|
file_type = ConditionFileType.LBWF
|
||||||
expected_class_name = "LbwfParser"
|
expected_class_name = "LbwfParser"
|
||||||
|
|
||||||
# act
|
# act
|
||||||
|
|
@ -19,7 +19,7 @@ def test_selects_lbwf_parser():
|
||||||
|
|
||||||
def test_selects_peabody_parser():
|
def test_selects_peabody_parser():
|
||||||
# arrange
|
# arrange
|
||||||
file_type = FileType.Peabody
|
file_type = ConditionFileType.Peabody
|
||||||
expected_class_name = "PeabodyParser"
|
expected_class_name = "PeabodyParser"
|
||||||
uprn_lookup = UprnLookupLocal(csv_path="test")
|
uprn_lookup = UprnLookupLocal(csv_path="test")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue