Skip to content

Commit b5f446a

Browse files
committed
Populate more fields when seeding the test Murfey Session entry
1 parent 4038cda commit b5f446a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ def seed_murfey_db(murfey_db_session_factory):
331331
lookup_kwargs={
332332
"id": ExampleVisit.murfey_session_id,
333333
"name": f"{ExampleVisit.proposal_code}{ExampleVisit.proposal_number}-{ExampleVisit.visit_number}",
334+
"visit": f"{ExampleVisit.proposal_code}{ExampleVisit.proposal_number}-{ExampleVisit.visit_number}",
335+
"instrument_name": ExampleVisit.instrument_name,
334336
},
335337
)
336338
session.close()

0 commit comments

Comments
 (0)