diff --git a/client_s2/compLib/Api.py b/client_s2/compLib/Api.py index 288162e..68c124a 100644 --- a/client_s2/compLib/Api.py +++ b/client_s2/compLib/Api.py @@ -57,7 +57,7 @@ class Seeding: :return: Json Object and status code as returned by the api. :rtype: List """ - res = requests.get(API_URL_GET_LOGISTIC_PLAN) + res = requests.get(API_URL_GET_MATERIAL_DELIVERIES) result = json.loads(res.content) logger.debug(f"Seeding.get_material_deliveries = {result}, status code = {res.status_code}") return result diff --git a/client_s2/test.py b/client_s2/test.py index d5d557a..0f54f54 100644 --- a/client_s2/test.py +++ b/client_s2/test.py @@ -59,7 +59,7 @@ class SeedingApiTest(unittest.TestCase): seeding_api = SeedingApi.Seeding() self.assertEqual(seeding_api.get_heuballen(), gamestate.get_heuballen()) self.assertEqual(seeding_api.get_logistic_plan(), gamestate.get_logistic_plan()) - # self.assertEqual(seeding_api.get_material_deliveries(), gamestate.get_material_deliveries()) + self.assertEqual(seeding_api.get_material_deliveries(), gamestate.get_material_deliveries()) class DeApiTest(unittest.TestCase):