diff --git a/tests/conftest.py b/tests/conftest.py index 07ba8b4ca..8c7032560 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -85,3 +85,6 @@ def get_customer_id(request): @pytest.fixture(scope="session") def get_testbed_name(request): yield request.config.getini("testbed-name") + + + diff --git a/tests/nightly/test_nightly.py b/tests/nightly/test_nightly.py new file mode 100644 index 000000000..8b3973e05 --- /dev/null +++ b/tests/nightly/test_nightly.py @@ -0,0 +1,22 @@ +import pytest + + +@pytest.mark.usefixtures('setup_cloudsdk') +@pytest.mark.usefixtures('update_firmware') +@pytest.mark.nightly +class NightlySanity(object): + + @pytest.mark.nightly_bridge + def test_nightly_bridge(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 1 + + @pytest.mark.nightly_nat + def test_nightly_nat(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 1 + + @pytest.mark.nightly_vlan + def test_nightly_vlan(self, setup_cloudsdk, update_firmware): + print(setup_cloudsdk) + assert 1 == 1 diff --git a/tests/pytest.ini b/tests/pytest.ini index d00f79f77..f15470c7f 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini @@ -1,5 +1,6 @@ [pytest] addopts= --junitxml=test_everything.xml + # jFrog parameters jfrog-base-url=tip.jFrog.io/artifactory/tip-wlan-ap-firmware jfrog-user-id=tip-read @@ -8,11 +9,13 @@ jfrog-user-password=tip-read testbed-name=nola-ext-04 sdk-user-id=support@example.com sdk-user-password=support + # Testrails parameters testrail-base-url=telecominfraproject.testrail.com testrail-project=opsfleet-wlan testrail-user-id=gleb@opsfleet.com testrail-user-password=use_command_line_to_pass_this + # LANforge lanforge-ip-address=localhost lanforge-port-number=8080 @@ -24,6 +27,10 @@ sdk-customer-id=2 markers = login: marks cloudsdk login + nightly_vlan: marks nightly vlan cases + nightly: marks nightly sanity cases + nightly_bridge: marks nightly bridge cases + nightly_nat: marks nightly nat cases UHF: marks tests as using 2.4 ghz frequency SHF: marks tests as using 5.0 ghz frequency open: marks tests as using no security