Skip to content

Commit 71307a2

Browse files
committed
Add test to make sure the fc id is what's expected
1 parent 65dc93e commit 71307a2

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

dataflow_transfer/tests/test_run_classes.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,20 @@ def test_confirm_run_type(run_fixture, expected_run_type, request):
169169
run_obj.confirm_run_type()
170170

171171

172+
@pytest.mark.parametrize(
173+
"run_fixture, expected_flowcell",
174+
[
175+
("novaseqxplus_testobj", "22CVHTLT1"),
176+
("nextseq_testobj", "AAHFHCCM5"),
177+
("miseqseq_testobj", "000000000-M6D7K"),
178+
("miseqseqi100_testobj", "SC2150561-SC3"),
179+
],
180+
)
181+
def test_flowcell_id_is_computed(run_fixture, expected_flowcell, request):
182+
run_obj = request.getfixturevalue(run_fixture)
183+
assert run_obj.flowcell_id == expected_flowcell
184+
185+
172186
@pytest.mark.parametrize(
173187
"run_fixture",
174188
[

0 commit comments

Comments
 (0)