Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
atdb-ldv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
atdb-ldv
Commits
21794442
Commit
21794442
authored
11 months ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
handle review comments
parent
c82bfaae
No related branches found
No related tags found
1 merge request
!361
SDC-1423 use aggregation strategy
Pipeline
#88806
passed
11 months ago
Stage: test
Stage: build
Stage: deploy_to_test
Stage: deploy_to_production
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
atdb/taskdatabase/tests/test_models_processed_summary.py
+6
-6
6 additions, 6 deletions
atdb/taskdatabase/tests/test_models_processed_summary.py
with
6 additions
and
6 deletions
atdb/taskdatabase/tests/test_models_processed_summary.py
+
6
−
6
View file @
21794442
...
@@ -51,14 +51,14 @@ class TestProcessedSummary(TestCase):
...
@@ -51,14 +51,14 @@ class TestProcessedSummary(TestCase):
"""
"""
actual
=
self
.
task1
.
resume
actual
=
self
.
task1
.
resume
self
.
assert
Equal
(
actual
,
True
)
self
.
assert
True
(
actual
)
def
test_processed_not_on_hold_for_different_strategy
(
self
):
def
test_processed_not_on_hold_for_different_strategy
(
self
):
"""
"""
this is a summary task, but it uses a workflow with an aggregation_strategy that should not hold the task
this is a summary task, but it uses a workflow with an aggregation_strategy that should not hold the task
"""
"""
actual
=
self
.
task4
.
resume
actual
=
self
.
task4
.
resume
self
.
assert
Equal
(
actual
,
True
)
self
.
assert
True
(
actual
)
def
test_processed_on_hold
(
self
):
def
test_processed_on_hold
(
self
):
"""
"""
...
@@ -66,7 +66,7 @@ class TestProcessedSummary(TestCase):
...
@@ -66,7 +66,7 @@ class TestProcessedSummary(TestCase):
"""
"""
actual
=
self
.
task2
.
resume
actual
=
self
.
task2
.
resume
self
.
assert
Equal
(
actual
,
False
)
self
.
assert
False
(
actual
)
def
test_activity_is_processed
(
self
):
def
test_activity_is_processed
(
self
):
...
@@ -75,18 +75,18 @@ class TestProcessedSummary(TestCase):
...
@@ -75,18 +75,18 @@ class TestProcessedSummary(TestCase):
"""
"""
actual
=
self
.
task1
.
activity
.
is_processed
actual
=
self
.
task1
.
activity
.
is_processed
self
.
assert
Equal
(
actual
,
True
)
self
.
assert
True
(
actual
)
def
test_has_summary_substring
(
self
):
def
test_has_summary_substring
(
self
):
"""
"""
task 2 only has the old summary filename test. Check if the task indeed gets seen as a summary_task
task 2 only has the old summary filename test. Check if the task indeed gets seen as a summary_task
"""
"""
actual
=
self
.
task2
.
is_summary
actual
=
self
.
task2
.
is_summary
self
.
assert
Equal
(
actual
,
True
)
self
.
assert
True
(
actual
)
def
test_is_summary
(
self
):
def
test_is_summary
(
self
):
"""
"""
task 3 only has the new
'
is_summary
'
test. Check if the task indeed gets seen as a summary_task
task 3 only has the new
'
is_summary
'
test. Check if the task indeed gets seen as a summary_task
"""
"""
actual
=
self
.
task3
.
is_summary
actual
=
self
.
task3
.
is_summary
self
.
assertEqual
(
actual
,
True
)
self
.
assertTrue
(
actual
)
\ No newline at end of file
\ No newline at end of file
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