Skip to content

Commit

Permalink
test_search.py 100% coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tamasmagyar committed Apr 14, 2020
1 parent 091ac2d commit 5cb1880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/agroapi10/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def test_instantiation_fails_with_wrong_arguments(self):
self.assertRaises(AssertionError, SatelliteImagerySearchResultSet, 'my_polygon', [], None)

def test_instantiation(self):
self.assertEqual(12, len(self.test_instance.metaimages))
self.assertEqual(12, self.test_instance.__len__())
self.assertTrue(all([mi.stats_url is not None for mi in self.test_instance.metaimages if mi.preset in
[PresetEnum.EVI, PresetEnum.NDVI]]))

Expand Down

0 comments on commit 5cb1880

Please sign in to comment.