From 06d0e00cf5f15dfc302fa974440b2e3a383ad60c Mon Sep 17 00:00:00 2001 From: Kevin Chung Date: Sun, 12 Mar 2017 19:53:26 -0400 Subject: [PATCH] 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. --- .travis.yml | 1 + tests/test_user_facing.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9b98c81a..f469e6b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: python python: - 2.7 + - 3.6 install: - pip install -r development.txt script: diff --git a/tests/test_user_facing.py b/tests/test_user_facing.py index 2ca2b5d9..3761b222 100644 --- a/tests/test_user_facing.py +++ b/tests/test_user_facing.py @@ -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