Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update names in cycle exists test
  • Loading branch information
nmaytan committed Jul 23, 2025
commit 7c6a176720356c739f200f70ebdb6b7a33d1d905
8 changes: 4 additions & 4 deletions src/nsls2api/tests/services/test_facility_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ async def test_cycle_year():

@pytest.mark.anyio
async def test_cycle_exists():
cycle = await facility_service.cycle_exists(cycle_name = valid_cycle_name, facility = "nsls2")
assert cycle == True
cycle_exists = await facility_service.cycle_exists(cycle_name = valid_cycle_name, facility = "nsls2")
assert cycle_exists == True

fake_cycle = await facility_service.cycle_exists(cycle_name = "fake", facility = "nsls2")
assert fake_cycle == False
invalid_cycle_exists = await facility_service.cycle_exists(cycle_name = "invalid_cycle", facility = "nsls2")
assert invalid_cycle_exists == False