Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
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
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
bd3fe6ed
Commit
bd3fe6ed
authored
2 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
PathComp component - Frontend:
- Fixed unitary tests
parent
b2b035c9
No related branches found
No related tags found
2 merge requests
!142
Release TeraFlowSDN 2.1
,
!78
Fix CI/CD pipeline
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pathcomp/frontend/tests/test_unitary.py
+4
-4
4 additions, 4 deletions
src/pathcomp/frontend/tests/test_unitary.py
with
4 additions
and
4 deletions
src/pathcomp/frontend/tests/test_unitary.py
+
4
−
4
View file @
bd3fe6ed
...
...
@@ -14,7 +14,7 @@
import
copy
,
logging
,
os
from
common.Constants
import
DEFAULT_CONTEXT_NAME
from
common.proto.context_pb2
import
Context
,
ContextId
,
DeviceId
,
Link
,
LinkId
,
Topology
,
Device
,
Topology
Id
from
common.proto.context_pb2
import
ContextId
from
common.proto.pathcomp_pb2
import
PathCompRequest
from
common.tools.descriptor.Loader
import
DescriptorLoader
,
check_descriptor_load_results
,
validate_empty_scenario
from
common.tools.grpc.Tools
import
grpc_message_to_json
...
...
@@ -29,9 +29,9 @@ from context.client.ContextClient import ContextClient
from
pathcomp.frontend.client.PathCompClient
import
PathCompClient
# Scenarios:
#from .Objects_A_B_C import CONTEXTS, DEVICES, LINKS,
OBJECTS_PER_TOPOLOGY,
SERVICES, TOPOLOGIES
#from .Objects_DC_CSGW_TN import CONTEXTS, DEVICES, LINKS,
OBJECTS_PER_TOPOLOGY,
SERVICES, TOPOLOGIES
from
.Objects_DC_CSGW_TN_OLS
import
CONTEXTS
,
DEVICES
,
LINKS
,
OBJECTS_PER_TOPOLOGY
,
SERVICES
,
TOPOLOGIES
#from .Objects_A_B_C import CONTEXTS, DEVICES, LINKS, SERVICES, TOPOLOGIES
#from .Objects_DC_CSGW_TN import CONTEXTS, DEVICES, LINKS, SERVICES, TOPOLOGIES
from
.Objects_DC_CSGW_TN_OLS
import
CONTEXTS
,
DEVICES
,
LINKS
,
SERVICES
,
TOPOLOGIES
# configure backend environment variables before overwriting them with fixtures to use real backend pathcomp
DEFAULT_PATHCOMP_BACKEND_SCHEME
=
'
http
'
...
...
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