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
dc92c894
Commit
dc92c894
authored
2 years ago
by
famelis
Browse files
Options
Downloads
Patches
Plain Diff
fix: restore test_unitray.py to prev version
parent
7a2a4850
No related branches found
No related tags found
2 merge requests
!54
Release 2.0.0
,
!33
fix: restore test_unitray.py to prev version
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/service/tests/test_unitary.py
+2
-1
2 additions, 1 deletion
src/service/tests/test_unitary.py
with
2 additions
and
1 deletion
src/service/tests/test_unitary.py
+
2
−
1
View file @
dc92c894
...
@@ -15,11 +15,12 @@
...
@@ -15,11 +15,12 @@
import
copy
,
grpc
,
logging
,
pytest
import
copy
,
grpc
,
logging
,
pytest
from
common.proto.context_pb2
import
(
from
common.proto.context_pb2
import
(
Context
,
ContextId
,
Device
,
DeviceId
,
Link
,
LinkId
,
Service
,
ServiceId
,
Topology
,
TopologyId
)
Context
,
ContextId
,
Device
,
DeviceId
,
Link
,
LinkId
,
Service
,
ServiceId
,
Topology
,
TopologyId
)
from
common.tests.PytestGenerateTests
import
pytest_generate_tests
# (required) pylint: disable=unused-import
from
common.tools.grpc.Tools
import
grpc_message_to_json_string
from
common.tools.grpc.Tools
import
grpc_message_to_json_string
from
context.client.ContextClient
import
ContextClient
from
context.client.ContextClient
import
ContextClient
from
device.client.DeviceClient
import
DeviceClient
from
device.client.DeviceClient
import
DeviceClient
from
service.client.ServiceClient
import
ServiceClient
from
service.client.ServiceClient
import
ServiceClient
from
.PrepareTestScenario
import
(
# pylint: disable=unused-import
from
.PrepareTestScenario
import
(
# pylint: disable=unused-import
# be careful, order of symbols is important here!
# be careful, order of symbols is important here!
mock_service
,
service_service
,
context_client
,
device_client
,
service_client
)
mock_service
,
service_service
,
context_client
,
device_client
,
service_client
)
...
...
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