Skip to content

Commit

Permalink
updated error handling function for file metadata tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramya Virajamangala committed May 9, 2024
1 parent 03d5bbf commit ed8cfc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def file_guid(driver, default_project, session, provider='osfstorage'):

files_page = FilesPage(driver, guid=node_id, addon_provider=provider)
files_page.goto()
if '502' in driver.page_source:
if '404' in driver.page_source:
raise Exception
else:
# Wait for File List items to load
Expand Down

0 comments on commit ed8cfc6

Please sign in to comment.