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
Merge requests
!15
Including the validation of creation of KPIs and their values to the OFC'22
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Including the validation of creation of KPIs and their values to the OFC'22
fix/test-kpis
into
develop
Overview
0
Commits
5
Pipelines
0
Changes
11
Merged
Carlos Natalino Da Silva
requested to merge
fix/test-kpis
into
develop
2 years ago
Overview
0
Commits
5
Pipelines
0
Changes
11
Expand
Two main changes are made:
Including the validation of creation of KPIs and their values to the OFC'22 test set.
Consolidate imports and fixtures of the OFC'22 and ECOC'22 scenarios.
0
0
Merge request reports
Compare
develop
version 3
fe69721e
2 years ago
version 2
32e2e6df
2 years ago
version 1
b173c467
2 years ago
develop (base)
and
latest version
latest version
a2d1ac3c
5 commits,
2 years ago
version 3
fe69721e
4 commits,
2 years ago
version 2
32e2e6df
3 commits,
2 years ago
version 1
b173c467
2 commits,
2 years ago
11 files
+
133
−
89
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
src/tests/ecoc22/tests/Fixtures.py
+
14
−
14
Options
# Copyright 2021-2023 H2020 TeraFlow (https://www.teraflow-h2020.eu/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import
pytest
import
pytest
from
common.Settings
import
get_setting
from
common.Settings
import
get_setting
from
compute.tests.mock_osm.MockOSM
import
MockOSM
from
compute.tests.mock_osm.MockOSM
import
MockOSM
from
context.client.ContextClient
import
ContextClient
from
device.client.DeviceClient
import
DeviceClient
#from .Objects_BigNet import WIM_MAPPING, WIM_PASSWORD, WIM_USERNAME
#from .Objects_BigNet import WIM_MAPPING, WIM_PASSWORD, WIM_USERNAME
from
.Objects_DC_CSGW_TN
import
WIM_MAPPING
,
WIM_PASSWORD
,
WIM_USERNAME
from
.Objects_DC_CSGW_TN
import
WIM_MAPPING
,
WIM_PASSWORD
,
WIM_USERNAME
#from .Objects_DC_CSGW_TN_OLS import WIM_MAPPING, WIM_PASSWORD, WIM_USERNAME
#from .Objects_DC_CSGW_TN_OLS import WIM_MAPPING, WIM_PASSWORD, WIM_USERNAME
@pytest.fixture
(
scope
=
'
session
'
)
def
context_client
():
_client
=
ContextClient
()
yield
_client
_client
.
close
()
@pytest.fixture
(
scope
=
'
session
'
)
def
device_client
():
_client
=
DeviceClient
()
yield
_client
_client
.
close
()
@pytest.fixture
(
scope
=
'
session
'
)
@pytest.fixture
(
scope
=
'
session
'
)
def
osm_wim
():
def
osm_wim
():
wim_url
=
'
http://{:s}:{:s}
'
.
format
(
wim_url
=
'
http://{:s}:{:s}
'
.
format
(
Loading