Skip to content

Commit 8336fbd

Browse files
committed
Forgot to update parameters passed to 'get_session_id()' in test
1 parent 32fe03a commit 8336fbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/server/test_ispyb.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ def test_get_session_id(
2626

2727
# Test function
2828
result = get_session_id(
29-
microscope="murfey",
30-
proposal_code="cm",
31-
proposal_number="12345",
32-
visit_number="6",
29+
microscope=ExampleVisit.instrument_name,
30+
proposal_code=ExampleVisit.proposal_code,
31+
proposal_number=str(ExampleVisit.proposal_number),
32+
visit_number=str(ExampleVisit.visit_number),
3333
db=ispyb_db,
3434
)
3535
assert query == result

0 commit comments

Comments
 (0)