salt-ext-modules-vmware icon indicating copy to clipboard operation
salt-ext-modules-vmware copied to clipboard

tests.integration.modules.test_nsxt_license : test_get_licenses

Open waynew opened this issue 3 years ago • 0 comments

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

waynew avatar Dec 01 '21 22:12 waynew