salt-ext-modules-vmware
salt-ext-modules-vmware copied to clipboard
tests.integration.modules.test_nsxt_license : test_get_licenses
Failed with fresh VMC_CONFIG
@pytest.fixture
def get_licenses():
url = BASE_URL.format(management_host=hostname)
response = nsxt_request.call_api(
method="GET", url=url, username=username, password=password, verify_ssl=_verify_ssl
)
> assert "error" not in response
E AssertionError: assert 'error' not in {'error': 'Error occurred while calling NSX-T API https://nsxt-hostname/ip/api/v1/licenses. Please check logs for more details.'}
response = {'error': 'Error occurred while calling NSX-T API https://nsxt-hostname/ip/api/v1/licenses. Please check logs for more details.'}
url = 'https://nsxt-hostname/ip/api/v1/licenses'
tests/integration/modules/test_nsxt_license.py:60: AssertionError