Skip to content

Commit

Permalink
update add all sites to ocf group test
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-labri-tipton committed Sep 18, 2023
1 parent cf35830 commit 000e28a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_sites_toolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,9 @@ def test_add_all_sites_to_ocf_group(db_session, site_group_name="ocf"):
site_3 = make_site(db_session=db_session, ml_id=3)
site_4 = make_site(db_session=db_session, ml_id=4)


message, sites_added = add_all_sites_to_ocf_group(session=db_session, site_group_name="ocf")

assert len(ocf_site_group.sites) == 4
assert sites_added == [str(site_3.site_uuid), str(site_4.site_uuid)]
assert len(sites_added) >= 0
assert message == f'Added {sites_added} sites to group {site_group_name}.'

0 comments on commit 000e28a

Please sign in to comment.