Skip to content

Commit 522fa5a

Browse files
committed
Demo for Docker Run.
Signed-off-by: Chad Metcalf <[email protected]>
1 parent 8e9f1ec commit 522fa5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/app.py

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

44
@app.route('/')
55
def hello():
6-
return "Hello Docker and GitHub!"
6+
return "Hello Docker and YouTube!"
77

88
if __name__ == '__main__':
99
app.run(host='0.0.0.0')

app/tests/test_works.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
def test_index(app, client):
22
res = client.get('/')
33
assert res.status_code == 200
4-
assert res.get_data(as_text=True) == "Hello Docker and GitHub!"
4+
assert res.get_data(as_text=True) == "Hello Docker and YouTube!"

0 commit comments

Comments
 (0)