Browse Source

Allow performing some tests without FB

log
Laurent Kislaire 3 years ago
parent
commit
37c70a3e97
  1. 7
      tests/conftest.py

7
tests/conftest.py

@ -0,0 +1,7 @@
import os
import requests
try:
r = requests.get("http://mafreebox.freebox.fr/api_version")
except BaseException:
os.environ['TEST_SKIP_LOCAL'] = '1'
Loading…
Cancel
Save