Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 27, 2024
1 parent 0a552b2 commit 3cd9e85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions tests/python_html/test_explore.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_explore_page_loads_with_lots_of_programs(client: Client, given: Given):
# GIVEN
user = given.logged_in_as_student()
for _ in range(50):
given.some_saved_program(user['username'], public=1)
given.some_saved_program(user['username'], public=1)

# WHEN
response = client.get('/explore')
Expand All @@ -19,7 +19,5 @@ def test_explore_page_loads_with_lots_of_programs(client: Client, given: Given):
adventures = soup.find_all('div', class_='adventure')
assert len(adventures) > 40

next_page_link = soup.find('a', { 'aria-label': 'Next page' })
next_page_link = soup.find('a', {'aria-label': 'Next page'})
assert next_page_link


2 changes: 1 addition & 1 deletion tests/python_html/test_programs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def test_programs_page_loads_with_lots_of_programs(client: Client, given: Given)
# GIVEN
user = given.logged_in_as_student()
for _ in range(20):
given.some_saved_program(user['username'])
given.some_saved_program(user['username'])

# WHEN
client.get('/programs')
Expand Down

0 comments on commit 3cd9e85

Please sign in to comment.