Skip to content

Commit

Permalink
made changes in pytest fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankhs11 committed Jan 18, 2025
1 parent 5d77a6c commit 0d6cd25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def small_unsorted_list():
# Fixture to initialize a large unsorted list (descending order)
@pytest.fixture
def large_unsorted_list():
return list(range(1000, 0, -1)) # A large descending list
return list(range(100, 0, -1)) # A large descending list

# Fixture to initialize a large sorted list (ascending order)
@pytest.fixture
def large_sorted_list():
return list(range(1, 1001)) # A large sorted list (ascending order)
return list(range(1, 101)) # A large sorted list (ascending order)

0 comments on commit 0d6cd25

Please sign in to comment.