Skip to content

Commit

Permalink
Update the importing of conn_graph_facts after platform_fixtures.py i…
Browse files Browse the repository at this point in the history
…s removed (#1547)

PR #1492 copied the implementation of conn_graph_facts in tests/platform/platform_fixtures.py
to tests/common/fixtures/conn_graph_facts.py.

Then PR #1503 removed file tests/platform/platform_fixtures.py. But not all related importings
were updated.

This change is to update all the platform_fixtures related importings.

Signed-off-by: Xin Wang <xinw@mellanox.com>

Co-authored-by: Xin Wang <xinw@mellanox.com>
  • Loading branch information
wangxin and Xin Wang authored Apr 8, 2020
1 parent db19699 commit 4c58f1c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/platform/mellanox/test_check_sfp_presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import os
import json

from platform_fixtures import conn_graph_facts
from common.fixtures.conn_graph_facts import conn_graph_facts

def test_check_sfp_presence(testbed_devices, conn_graph_facts):
"""This test case is to check SFP presence status with CLI and sysfs.
Expand Down
2 changes: 1 addition & 1 deletion tests/platform/mellanox/test_check_sfp_using_ethtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import os
import json

from platform_fixtures import conn_graph_facts
from common.fixtures.conn_graph_facts import conn_graph_facts
from check_hw_mgmt_service import check_hw_management_service


Expand Down
2 changes: 1 addition & 1 deletion tests/platform/test_reload_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import pytest

from platform_fixtures import conn_graph_facts
from common.fixtures.conn_graph_facts import conn_graph_facts
from common.utilities import wait_until
from check_critical_services import check_critical_services
from check_transceiver_status import check_transceiver_basic
Expand Down
2 changes: 1 addition & 1 deletion tests/platform/test_sequential_restart.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import pytest

from platform_fixtures import conn_graph_facts
from common.fixtures.conn_graph_facts import conn_graph_facts
from common.utilities import wait_until
from check_critical_services import check_critical_services
from check_transceiver_status import check_transceiver_basic
Expand Down
2 changes: 1 addition & 1 deletion tests/platform/test_sfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import pytest

from platform_fixtures import conn_graph_facts
from common.fixtures.conn_graph_facts import conn_graph_facts
from common.plugins.loganalyzer.loganalyzer import LogAnalyzer

ans_host = None
Expand Down
2 changes: 1 addition & 1 deletion tests/platform/test_xcvr_info_in_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import os

from check_transceiver_status import check_transceiver_status
from platform_fixtures import conn_graph_facts
from common.fixtures.conn_graph_facts import conn_graph_facts


def test_xcvr_info_in_db(testbed_devices, conn_graph_facts):
Expand Down

0 comments on commit 4c58f1c

Please sign in to comment.