Skip to content

Commit

Permalink
tests: Fix import issue
Browse files Browse the repository at this point in the history
Upgraded Flask, minor style changes to tests
  • Loading branch information
kx-chen committed Mar 30, 2019
1 parent 227a118 commit 78739c8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
Flask==0.12
Flask
flask_sqlalchemy
werkzeug
psycopg2
Expand Down
2 changes: 1 addition & 1 deletion runTest.py
@@ -1,4 +1,4 @@
import unittest

tests = unittest.TestLoader().discover('tests')
unittest.TextTestRunner(verbosity=2).run(tests)
unittest.TextTestRunner(verbosity=2).run(tests)
2 changes: 1 addition & 1 deletion tests/test_basic.py
@@ -1,6 +1,6 @@
import unittest

from .base import BaseTestCase
from base import BaseTestCase


class FlaskTestCase(BaseTestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_item.py
@@ -1,7 +1,7 @@
import unittest

from lostfound.items.models import Item
from .base import db, BaseTestCase
from base import db, BaseTestCase


class FlaskTestCase(BaseTestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_user.py
@@ -1,7 +1,7 @@
import unittest

from lostfound.users.models import User
from .base import db, BaseTestCase
from base import db, BaseTestCase


class TestUserAuthentications(BaseTestCase):
Expand Down

0 comments on commit 78739c8

Please sign in to comment.