Skip to content

Commit

Permalink
small fix in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mekhlakapoor committed Feb 13, 2025
1 parent 0bcbb6a commit 48d16fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions tests/tars/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def setUp(self, mock_credential):
resource="https://some_resource",
)
tars_virus_identifiers = TarsVirusIdentifiers(
virus_tars_id="AiP123",
plasmid_tars_alias="ExP123",
virus_tars_id="AiV123",
plasmid_tars_alias="AiP456",
prep_lot_number="12345",
prep_date=date(2023, 12, 15),
prep_type="Crude",
Expand Down Expand Up @@ -242,11 +242,11 @@ def test_get_injection_materials_info_success(
"virus": {
"aliases": [
{
"name": "AiP123",
"name": "AiV123",
"isPreferred": True,
},
{
"name": "AiV456",
"name": "AiP456",
"isPreferred": False,
},
]
Expand All @@ -266,7 +266,7 @@ def test_get_injection_materials_info_success(
{
"aliases": [
{
"name": "AiP123",
"name": "AiV123",
"isPreferred": True,
},
{
Expand All @@ -278,7 +278,7 @@ def test_get_injection_materials_info_success(
{
"aliases": [
{
"name": "ExP123",
"name": "AiP456",
"isPreferred": True,
},
{
Expand Down
10 changes: 5 additions & 5 deletions tests/tars/test_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def test_map_lot_to_injection_materials(self):
virus_response = {
"aliases": [
{
"name": "AiP123",
"name": "AiV123",
"isPreferred": True,
},
{
Expand All @@ -206,7 +206,7 @@ def test_map_lot_to_injection_materials(self):
{
"aliases": [
{
"name": "ExP123",
"name": "AiP456",
"isPreferred": True,
},
{
Expand All @@ -221,11 +221,11 @@ def test_map_lot_to_injection_materials(self):
injection_material = self.handler.map_lot_to_injection_material(
viral_prep_lot=prep_lot_response,
virus=virus_response,
virus_tars_id="AiP123",
virus_tars_id="AiV123",
)
tars_virus_identifiers = TarsVirusIdentifiers(
virus_tars_id="AiP123",
plasmid_tars_alias="ExP123",
virus_tars_id="AiV123",
plasmid_tars_alias="AiP456",
prep_lot_number="12345",
prep_date=date(2023, 12, 15),
prep_type="Crude",
Expand Down

0 comments on commit 48d16fc

Please sign in to comment.