Skip to content

Commit

Permalink
fix: update the last_updated string (#11116)
Browse files Browse the repository at this point in the history
* fix: update the last_updated string

* fix: make test use new last_updated value
  • Loading branch information
iversonic authored Mar 19, 2024
1 parent f4408c8 commit 0b3ff85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion practice-folder/beginner-sample/hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

@app.route("/")
def hello():
last_updated = "10:27 PM PST, Friday, December 1, 2023"
last_updated = "3:01 PM PST, Friday, January 8, 2024"
return f"Hello. This page was last updated at {last_updated}."


Expand Down
2 changes: 1 addition & 1 deletion practice-folder/beginner-sample/hello_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_home_page(client):
response = client.get("/")
assert response.status_code == 200
assert response.text.startswith("Hello. This page was last updated at ")
assert response.text.endswith("10:27 PM PST, Friday, December 1, 2023.")
assert response.text.endswith("3:01 PM PST, Friday, January 8, 2024.")


def test_other_page(client):
Expand Down

0 comments on commit 0b3ff85

Please sign in to comment.