def test_orbit_number_encode(self): query = GranuleQuery() query.orbit_number("985", "986") self.assertIn(self.orbit_number, query.params) self.assertEqual(query.params[self.orbit_number], "985%2C986")
def test_orbit_number_set(self): query = GranuleQuery() query.orbit_number(985) self.assertIn(self.orbit_number, query.params) self.assertEqual(query.params[self.orbit_number], 985)