diff --git a/.travis.yml b/.travis.yml index 126b783f..d2614c05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ install: - pip install -rdev-requirements.txt script: + - ifconfig - py.test -v -s tests --cov gns3server --cov-report term-missing #branches: diff --git a/gns3server/utils/interfaces.py b/gns3server/utils/interfaces.py index 60c16c61..85d6d1bd 100644 --- a/gns3server/utils/interfaces.py +++ b/gns3server/utils/interfaces.py @@ -100,11 +100,13 @@ def is_interface_up(interface): return True return False except OSError as e: - raise aiohttp.web.HTTPInternalServerError(text="Exception when checking if {} is up: {}".format(interface, e)) + raise e + #raise aiohttp.web.HTTPInternalServerError(text="Exception when checking if {} is up: {}".format(interface, e)) else: - #TODO: Windows & OSX support + # TODO: Windows & OSX support return True + def interfaces(): """ Gets the network interfaces on this server.