Skip to content

Commit 44f7908

Browse files
committed
Ready for integration testing.
1 parent 83b6e13 commit 44f7908

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/ch14_testing/final/tests/account_tests.py

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

33
from pypi_org.data.users import User
44
from pypi_org.viewmodels.account.register_viewmodel import RegisterViewModel
5-
from tests.test_client import flask_app
5+
from tests.test_client import flask_app, client
66
import unittest.mock
77

88

app/ch14_testing/final/tests/test_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ def client():
1818
flask_app.config['TESTING'] = True
1919
client = flask_app.test_client()
2020

21+
# noinspection PyBroadException,PyUnusedLocal
2122
try:
2223
pypi_org.app.register_blueprints()
2324
except Exception as x:
24-
print(x)
25+
# print(x)
2526
pass
2627

2728
pypi_org.app.setup_db()

0 commit comments

Comments
 (0)