Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed Aug 17, 2023
1 parent 3342953 commit 0f8e5d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ def test_get_fields_in_box(self):

fields = get_fields_in_box(ra_lim, dec_lim, summer=True)

assert len(fields) == 17, "Wrong number of fields"
assert fields["ID"].iloc[0] == 55286, "Wrong field"
assert len(fields) == 28, f"Wrong number of fields ({len(fields)})"
assert fields["ID"].iloc[0] == 54494, f"Wrong field {fields['ID'].iloc[0]}"

fields = get_fields_in_box(ra_lim, dec_lim, summer=False)

assert len(fields) == 2, "Wrong number of fields"
assert fields["ID"].iloc[0] == 3735, "Wrong field"
assert len(fields) == 3, f"Wrong number of fields ({len(fields)})"
assert fields["ID"].iloc[0] == 3735, f"Wrong field {fields['ID'].iloc[0]}"

def test_get_field_info(self):
"""
Expand Down

0 comments on commit 0f8e5d3

Please sign in to comment.