Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
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
Container 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Commits
065a96a7
Commit
065a96a7
authored
10 months ago
by
Mohammad Torkashvand
Browse files
Options
Downloads
Patches
Plain Diff
rebased with develop and fixed tests
parent
7ae46cdc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!188
upgrade to orchestrato-core v2
Pipeline
#86650
passed
10 months ago
Stage: tox
Stage: documentation
Stage: sonarqube
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/cli/test_imports.py
+7
-10
7 additions, 10 deletions
test/cli/test_imports.py
with
7 additions
and
10 deletions
test/cli/test_imports.py
+
7
−
10
View file @
065a96a7
...
@@ -295,20 +295,17 @@ def test_import_iptrunk_non_unique_members_side_a_and_b(mock_start_process, iptr
...
@@ -295,20 +295,17 @@ def test_import_iptrunk_non_unique_members_side_a_and_b(mock_start_process, iptr
import_iptrunks
(
broken_data
[
"
path
"
])
import_iptrunks
(
broken_data
[
"
path
"
])
captured_output
,
_
=
capfd
.
readouterr
()
captured_output
,
_
=
capfd
.
readouterr
()
assert
SubscriptionTable
.
query
.
count
()
==
4
assert
len
(
get_active_iptrunk_subscriptions
())
==
0
assert
"
Validation error: 2 validation errors for IptrunkImportModel
"
in
captured_output
assert
(
assert
(
"""
Validation error: 2 validation errors for IptrunkImportModel
"""
side_a_ae_members
side_a_ae_members
Value error, Items must be unique [type=value_error, input_value=[{
'
interface_name
'
:
"""
Value error, Items must be unique [type=value_error, input_value=[{
'
interface_name
'
:
"""
in
captured_output
)
in
captured_output
)
assert
(
assert
(
"""
"""
side_b_ae_members
side_b_ae_members
Value error, Items must be unique [type=value_error, input_value=[{
'
interface_name
'
:
"""
Value error, Items must be unique [type=value_error, input_value=[{
'
interface_name
'
:
"""
in
captured_output
)
in
captured_output
)
assert
mock_start_process
.
call_count
==
0
assert
mock_start_process
.
call_count
==
0
...
...
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