From 522fa5ab96303b622d7c04002115dcdd5ebd0ef4 Mon Sep 17 00:00:00 2001 From: Chad Metcalf Date: Wed, 9 Sep 2020 10:41:51 -0700 Subject: [PATCH] Demo for Docker Run. Signed-off-by: Chad Metcalf --- app/app.py | 2 +- app/tests/test_works.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/app.py b/app/app.py index 93ffc0a..c3287b5 100644 --- a/app/app.py +++ b/app/app.py @@ -3,7 +3,7 @@ @app.route('/') def hello(): - return "Hello Docker and GitHub!" + return "Hello Docker and YouTube!" if __name__ == '__main__': app.run(host='0.0.0.0') diff --git a/app/tests/test_works.py b/app/tests/test_works.py index 940371d..5a1c526 100644 --- a/app/tests/test_works.py +++ b/app/tests/test_works.py @@ -1,4 +1,4 @@ def test_index(app, client): res = client.get('/') assert res.status_code == 200 - assert res.get_data(as_text=True) == "Hello Docker and GitHub!" + assert res.get_data(as_text=True) == "Hello Docker and YouTube!"