Skip to content

Commit

Permalink
Update test_app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Bulrush3 committed May 21, 2024
1 parent 5a039a7 commit a31414e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,3 @@ def test_incorrect_url():
"и попробуйте снова!"
)

def test_unsecure_url():
"""Проверка ввода URL-адреса на незащищенном сайте (HTTP)."""
at.text_input[0].set_value(
"http://pixyland.org/Images/RandyPan_220w.jpg"
).run()
at.button[0].click().run()
time.sleep(5)
assert at.error[0].value == (
"Изображение с небезопасного сайта!"
)

0 comments on commit a31414e

Please sign in to comment.