Philip/management integration tests

This commit is contained in:
2021-06-03 13:40:51 +00:00
parent 69ae9b7c07
commit ed9e032890
31 changed files with 3437 additions and 124 deletions

View File

@@ -0,0 +1,11 @@
import logging
logg = logging.getLogger()
logg.setLevel(logging.DEBUG)
def validate_response(response, expected_response):
"""Makes sure that the response received matches the expected response"""
logg.debug(f'RESPONSE: {response.content.decode("utf-8")}')
assert response.content.decode('utf-8') == expected_response