mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
Fixes Python 3 compatibility for testing (#230)
* Testing 3.6 * Fixing Python 3 testing * Fixing both kinds of tests :) * PEP8 lint project and add linting checks to build process (#229) * Revert "PEP8 lint project and add linting checks to build process (#229)" This reverts commit 15d89d2b66030cdc2a6276b0a73acaa4912c06ab.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
language: python
|
||||
python:
|
||||
- 2.7
|
||||
- 3.6
|
||||
install:
|
||||
- pip install -r development.txt
|
||||
script:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from helpers import create_ctfd, register_user, login_as_user
|
||||
from tests.helpers import create_ctfd, register_user, login_as_user
|
||||
from CTFd.models import Teams
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user