# Path: nomad/api/exceptions.py
# class BaseNomadException(Exception):
# class URLNotFoundNomadException(BaseNomadException):
# class URLNotAuthorizedNomadException(BaseNomadException):
# class BadRequestNomadException(BaseNomadException):
# class InvalidParameters(Exception):
# class TimeoutNomadException(requests.exceptions.RequestException):
#     def __init__(self, nomad_resp):
#     def __str__(self):


import pytest
import os
from nomad.api import exceptions


# integration tests requires nomad Vagrant VM or Binary running
@pytest.mark.skipif(tuple(int(i) for i in os.environ.get("NOMAD_VERSION").split(".")) < (0, 5, 5), reason="Not supported in version")
def test_get_configuration_default(nomad_setup):
    assert isinstance(nomad_setup.operator.get_configuration(), dict)



# Path: nomad/api/exceptions.py
# class BaseNomadException(Exception):
# class URLNotFoundNomadException(BaseNomadException):
# class URLNotAuthorizedNomadException(BaseNomadException):
# class BadRequestNomadException(BaseNomadException):
# class InvalidParameters(Exception):
# class TimeoutNomadException(requests.exceptions.RequestException):
#     def __init__(self, nomad_resp):
#     def __str__(self):


# Path: tests/test_operator.py
import pytest
import os
from nomad.api import exceptions



# integration tests requires nomad Vagrant VM or Binary running
@pytest.mark.skipif(tuple(int(i) for i in os.environ.get("NOMAD_VERSION").split(".")) < (0, 5, 5), reason="Not supported in version")
def test_get_configuration_default(nomad_setup):
    assert isinstance(nomad_setup.operator.get_configuration(), dict)



@pytest.mark.skipif(tuple(int(i) for i in os.environ.get("NOMAD_VERSION").split(".")) < (0, 5, 5), reason="Not supported in version")