Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
394b3a6f
Commit
394b3a6f
authored
4 years ago
by
Jörn Künsemöller
Browse files
Options
Downloads
Patches
Plain Diff
TMSS-332
: fix tests
parent
6ec2cfec
No related branches found
No related tags found
1 merge request
!208
Resolve TMSS-332 and TMSS-333
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SAS/TMSS/test/tmss_test_data_django_models.py
+2
-1
2 additions, 1 deletion
SAS/TMSS/test/tmss_test_data_django_models.py
SAS/TMSS/test/tmss_test_data_rest.py
+2
-1
2 additions, 1 deletion
SAS/TMSS/test/tmss_test_data_rest.py
with
4 additions
and
2 deletions
SAS/TMSS/test/tmss_test_data_django_models.py
+
2
−
1
View file @
394b3a6f
...
@@ -133,7 +133,8 @@ def Project_test_data() -> dict:
...
@@ -133,7 +133,8 @@ def Project_test_data() -> dict:
"
can_trigger
"
:
False
,
"
can_trigger
"
:
False
,
"
private_data
"
:
True
,
"
private_data
"
:
True
,
"
expert
"
:
True
,
"
expert
"
:
True
,
"
filler
"
:
False
}
"
filler
"
:
False
,
"
archive_subdirectory
"
:
"
my_project/
"
}
def
ResourceType_test_data
()
->
dict
:
def
ResourceType_test_data
()
->
dict
:
return
{
return
{
...
...
This diff is collapsed.
Click to expand it.
SAS/TMSS/test/tmss_test_data_rest.py
+
2
−
1
View file @
394b3a6f
...
@@ -176,7 +176,8 @@ class TMSSRESTTestDataCreator():
...
@@ -176,7 +176,8 @@ class TMSSRESTTestDataCreator():
"
trigger_priority
"
:
1000
,
"
trigger_priority
"
:
1000
,
"
can_trigger
"
:
False
,
"
can_trigger
"
:
False
,
"
private_data
"
:
True
,
"
private_data
"
:
True
,
"
cycles
"
:
[]}
"
cycles
"
:
[],
"
archive_subdirectory
"
:
'
my_project/
'
}
def
ResourceType
(
self
,
description
=
"
my resource_type description
"
):
def
ResourceType
(
self
,
description
=
"
my resource_type description
"
):
return
{
return
{
...
...
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