Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions testing/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@ def get_title_from_web(url):
web_url = "http://localhost:5000"
title = get_title_from_web(web_url)
# print(title)
try:
assert title == "Form Absensi Mahasiswa"
except AssertionError:
print(f"Assertion failed. Expected: 'Form Absensi Mahasiswa', but got: '{title}'")
raise
assert title == "Form Absensi Mahasiswa"
print("Testing success")
Loading