Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine-api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
engine-api
Commits
0201e4ca
Commit
0201e4ca
authored
1 year ago
by
Chris Pastl
Browse files
Options
Downloads
Patches
Plain Diff
Fix engine_source in ClockInfo to avoid None error
parent
a42d99d3
No related branches found
No related tags found
1 merge request
!7
Commit the OpenAPI generated tests into "./tests" and make them run successfully #24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_internal_controller.py
+1
-1
1 addition, 1 deletion
tests/test_internal_controller.py
with
1 addition
and
1 deletion
tests/test_internal_controller.py
+
1
−
1
View file @
0201e4ca
...
@@ -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
"
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment