Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Wellbore Domain Services
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
Service Desk
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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
Domain Data Management Services
Wellbore
Wellbore Domain Services
Commits
f1d44b40
Commit
f1d44b40
authored
3 years ago
by
Victor Dosda
Browse files
Options
Downloads
Patches
Plain Diff
Adapted tests
parent
ea79be3e
No related branches found
No related tags found
1 merge request
!240
Deletion of bulk data
Pipeline
#69559
failed
3 years ago
Stage: review
Stage: build
Stage: containerize
Stage: scan
Stage: deploy
Stage: integration
Stage: attribution
Changes
1
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/unit/routers/ddms_v3/delete_ddms_v3_test.py
+2
-3
2 additions, 3 deletions
tests/unit/routers/ddms_v3/delete_ddms_v3_test.py
with
2 additions
and
3 deletions
tests/unit/routers/ddms_v3/delete_ddms_v3_test.py
+
2
−
3
View file @
f1d44b40
...
...
@@ -120,6 +120,5 @@ def test_delete_purge_record(client_delete, logger_fixture):
)
assert
response
.
status_code
==
status
.
HTTP_204_NO_CONTENT
for
i
in
range
(
4
):
logger_exception
=
logger_fixture
.
exception
.
mock_calls
[
i
].
args
[
0
].
split
(
"
:
"
)
assert
logger_exception
[
0
]
==
"
Exception on bulk versions deletion
"
assert
logger_exception
[
1
].
count
(
"
Error 404 not found
"
)
==
1
logger_exception
=
logger_fixture
.
exception
.
mock_calls
[
i
].
args
[
0
]
assert
logger_exception
==
"
Exception on bulk versions deletion: Error 404 not found
"
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