Skip to content

Commit bc7f858

Browse files
committed
fix Pipfile && use test_app
1 parent 49109d9 commit bc7f858

15 files changed

+356
-103
lines changed

Pipfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
click = "*"
8-
jinja2 = "*"
97
tox = "*"
108
ipython = "*"
9+
hobbit-core = {editable = true,extras = ["hobbit", "hobbit_core"],path = "."}
1110

1211
[dev-packages]
13-
sphinx = "2.0.1"
12+
sphinx = "==2.0.1"
1413
sphinx-autobuild = "*"
1514
flask-sphinx-themes = "*"
1615
psycopg2-binary = "*"
@@ -24,3 +23,6 @@ mypy-extensions = "==0.4.1"
2423

2524
[requires]
2625
python_version = "3.7"
26+
27+
[pipenv]
28+
allow_prereleases = true

Pipfile.lock

Lines changed: 336 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from flask_sqlalchemy import model
66

7-
from .run import app, db
7+
from .test_app.run import app, db
88

99

1010
class BaseTest(object):

tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
from webargs.core import Parser, get_value
55

6-
from .run import app as tapp
7-
from .exts import db as tdb
6+
from .test_app.run import app as tapp
7+
from .test_app.exts import db as tdb
88

99

1010
@pytest.fixture(scope='session')

tests/test_app/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)