mirror of
https://github.com/laurivosandi/certidude
synced 2025-09-06 22:00:56 +00:00
tests: Fix package install/import ordering issues
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user