Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
5afc34a5
Commit
5afc34a5
authored
3 years ago
by
Charlotte Hausman
Browse files
Options
Downloads
Patches
Plain Diff
fix test
parent
116f2400
No related branches found
No related tags found
1 merge request
!514
add workflow_metadata column to sqlalchemy schema
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/capability/test/test_capability_version_views.py
+2
-3
2 additions, 3 deletions
services/capability/test/test_capability_version_views.py
with
2 additions
and
3 deletions
services/capability/test/test_capability_version_views.py
+
2
−
3
View file @
5afc34a5
...
...
@@ -19,6 +19,7 @@ def test_view_latest_version(test_config: Configurator, request_null_capability:
"
capability_request_id
"
:
1
,
"
version_number
"
:
1
,
"
parameters
"
:
'
{
"
arguments
"
:
"
-pe
"
}
'
,
"
workflow_metadata
"
:
None
,
"
files
"
:
[],
}
assert
response
.
status_code
==
http
.
HTTPStatus
.
OK
...
...
@@ -33,9 +34,7 @@ def test_view_latest_version(test_config: Configurator, request_null_capability:
assert
no_such_request_response
.
status_code
==
http
.
HTTPStatus
.
NOT_FOUND
def
test_create_capability_version
(
test_config
:
Configurator
,
request_null_capability
:
DummyRequest
):
def
test_create_capability_version
(
test_config
:
Configurator
,
request_null_capability
:
DummyRequest
):
"""
Tests the create capability version view to make sure it properly supports creation of versions
...
...
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