summaryrefslogtreecommitdiff
path: root/app/tests/functional
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonail.com>2022-05-04 18:13:20 -0500
committerstilbruch <stilbruch@protonail.com>2022-05-04 18:13:20 -0500
commit6a92fe73a176164197706965c82ea98b08bbc2bd (patch)
treeb2ad6ba3ae765b35f8c50c491356ef4daadb4902 /app/tests/functional
parentcd14ca37470771042d05e2ece187acf568c41058 (diff)
downloadStrengthy-6a92fe73a176164197706965c82ea98b08bbc2bd.tar.xz
Strengthy-6a92fe73a176164197706965c82ea98b08bbc2bd.zip
Fix tests
Diffstat (limited to 'app/tests/functional')
-rw-r--r--app/tests/functional/test_routes.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/tests/functional/test_routes.py b/app/tests/functional/test_routes.py
deleted file mode 100644
index 81e2ce1..0000000
--- a/app/tests/functional/test_routes.py
+++ /dev/null
@@ -1,17 +0,0 @@
-from app import create_app
-
-def test_home_page():
- """
- GIVEN a Flask application configured for testing
- WHEN the '/' page is requested (GET)
- THEN check that the response is valid
- """
-
- flask_app = create_app('flask_test.cfg')
-
- with flask_app.test_client() as test_client:
- response = test_client.get('/')
- assert response.status_code == 200
- assert b"Welcome to Strengthy" in response.data
- assert b"Strengthy is an open source fitness tracking applicatio that helps users meet their fitness goals." in response.data
- assert b"To get started, Sign Up to create an account." in response.data