Skip to content

Commit

Permalink
fix incoherence in range results
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Mar 30, 2018
1 parent e6bcfd2 commit 2cb0892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_search_specifc_mds_bad(self):
search_5 = self.isogeo.search(self.bearer,
page_size=5,
whole_share=0)
md = search_5.get("results")[randint(0, 5)].get("_id")
md = search_5.get("results")[randint(0, 4)].get("_id")
# pass metadata UUID
with self.assertRaises(TypeError):
self.isogeo.search(self.bearer,
Expand Down

0 comments on commit 2cb0892

Please sign in to comment.