mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 11:57:49 +00:00
19 lines
444 B
Python
19 lines
444 B
Python
import pytest
|
|
from configuration import CONFIGURATION
|
|
|
|
|
|
@pytest.mark.sdk_version_check
|
|
def test_cloud_sdk_version(instantiate_cloudsdk, testbed):
|
|
try:
|
|
response = instantiate_cloudsdk.portal_ping()
|
|
if CONFIGURATION[testbed]['controller']['version'] == response._project_version:
|
|
PASS = True
|
|
else:
|
|
PASS = False
|
|
except Exception as e:
|
|
print(e)
|
|
PASS = False
|
|
assert PASS
|
|
|
|
|