Skip to content

Commit

Permalink
require only 1 reference in cutout api-test, this is a workaround for #…
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonreusch authored and JannisNe committed Feb 25, 2022
1 parent f6166c2 commit 557a8c4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ def test_api(self):
self.logger.info(f"Retrieving cutouts for {ztf_id}")
api_cutouts = ampel_api_cutout(candid=candid)
nr_cutouts = len(api_cutouts)
ref = 3

# setting the ref to 1 for now (this is a workaround and
# should be revisited when ArchiveDB v3 is stable)
ref = 1

self.logger.info(f"Retrieved {nr_cutouts}. Reference value is {ref}")

Expand Down

0 comments on commit 557a8c4

Please sign in to comment.