get_material_deliveries test now passes

This commit is contained in:
Joel Klimont 2022-10-01 20:00:27 +02:00
parent f6b27971c4
commit e35b992865
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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):