1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-22 08:15:18 +00:00

tests: Fix package install/import ordering issues

This commit is contained in:
Lauri Võsandi 2018-04-10 10:05:08 +00:00
parent dbbcec6d64
commit a790df593e
2 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,7 @@ env:
after_success:
- codecov
script:
- sudo npm config set registry=http://registry.npmjs.org/
- echo registry=http://registry.npmjs.org/ | sudo tee /root/.npmrc
- sudo apt install software-properties-common python3-setuptools python3-mysql.connector python3-pyxattr
- sudo mkdir -p /etc/systemd/system # Until Travis is stuck with 14.04
- sudo easy_install3 pip

View File

@ -14,7 +14,6 @@ from certidude import config, const
logger = logging.getLogger("api")
def authenticate(optional=False):
import falcon
def wrapper(func):
def kerberos_authenticate(resource, req, resp, *args, **kwargs):
# Try pre-emptive authentication