Skip to content

Commit 7cb58de

Browse files
authored
fix: correct last updated message (GoogleCloudPlatform#10966)
* Update date and time in hello.py file * Update the date and time in hello_test.py * Update the date and time string to match with the sample code * Update date and time in hello_test.py to match with the hello.py * added a period at end of date and time string in hello_test.py
1 parent 0f0def7 commit 7cb58de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

practice-folder/beginner-sample/hello.py

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

2020
@app.route("/")
2121
def hello():
22-
last_updated = "2:19 PM PST, Monday, November 6, 2023"
22+
last_updated = "1:17 PM PST, Tuesday , November 28, 2023"
2323
return f"Hello. This page was last updated at {last_updated}."
2424

2525

practice-folder/beginner-sample/hello_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_home_page(client):
2727
response = client.get("/")
2828
assert response.status_code == 200
2929
assert response.text.startswith("Hello. This page was last updated at ")
30-
assert response.text.endswith("2:19 PM PST, Monday, November 6, 2023.")
30+
assert response.text.endswith("1:17 PM PST, Tuesday , November 28, 2023.")
3131

3232

3333
def test_other_page(client):

0 commit comments

Comments
 (0)