We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b6e13 commit 44f7908Copy full SHA for 44f7908
app/ch14_testing/final/tests/account_tests.py
@@ -2,7 +2,7 @@
2
3
from pypi_org.data.users import User
4
from pypi_org.viewmodels.account.register_viewmodel import RegisterViewModel
5
-from tests.test_client import flask_app
+from tests.test_client import flask_app, client
6
import unittest.mock
7
8
app/ch14_testing/final/tests/test_client.py
@@ -18,10 +18,11 @@ def client():
18
flask_app.config['TESTING'] = True
19
client = flask_app.test_client()
20
21
+ # noinspection PyBroadException,PyUnusedLocal
22
try:
23
pypi_org.app.register_blueprints()
24
except Exception as x:
- print(x)
25
+ # print(x)
26
pass
27
28
pypi_org.app.setup_db()
0 commit comments