Skip to content
Snippets Groups Projects
Commit 0201e4ca authored by Chris Pastl's avatar Chris Pastl
Browse files

Fix engine_source in ClockInfo to avoid None error

parent a42d99d3
No related branches found
No related tags found
1 merge request!7Commit the OpenAPI generated tests into "./tests" and make them run successfully #24
...@@ -128,7 +128,7 @@ class TestInternalController(BaseTestCase): ...@@ -128,7 +128,7 @@ class TestInternalController(BaseTestCase):
Set current studio clock information such as timeslot info and track-list for engine 1 or 2 Set current studio clock information such as timeslot info and track-list for engine 1 or 2
within the Engine API database. within the Engine API database.
""" """
body = ClockInfo() body = ClockInfo(engine_source=1)
response = self.client.open( response = self.client.open(
"/api/v1/clock", method="PUT", data=json.dumps(body), content_type="application/json" "/api/v1/clock", method="PUT", data=json.dumps(body), content_type="application/json"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment