Skip to content

Commit

Permalink
Drop unused fixture arg
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Jun 10, 2024
1 parent 5123c39 commit 65530c9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions test/unit/data/model/db/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@


def test_ratings(
session,
make_user,
make_stored_workflow,
make_history,
Expand Down Expand Up @@ -148,7 +147,7 @@ def test_populated_optimized_ok(session, make_dataset_collection, make_dataset_c
assert c1.populated_optimized


def test_populated_optimized_empty_list_list_ok(session, make_dataset_collection, make_dataset_collection_element):
def test_populated_optimized_empty_list_list_ok(make_dataset_collection, make_dataset_collection_element):
c1 = make_dataset_collection(collection_type="list")
c2 = make_dataset_collection(collection_type="list:list")
make_dataset_collection_element(collection=c2, element=c1)
Expand All @@ -158,7 +157,7 @@ def test_populated_optimized_empty_list_list_ok(session, make_dataset_collection
assert c2.populated_optimized


def test_populated_optimized_list_list_not_populated(session, make_dataset_collection, make_dataset_collection_element):
def test_populated_optimized_list_list_not_populated(make_dataset_collection, make_dataset_collection_element):
c1 = make_dataset_collection(collection_type="list", populated=False)
c2 = make_dataset_collection(collection_type="list:list")
make_dataset_collection_element(collection=c2, element=c1)
Expand Down Expand Up @@ -201,7 +200,7 @@ def contents_iter_names(**kwds):
assert contents_iter_names(ids=[d1.id, d3.id]) == ["1", "3"]


def test_current_galaxy_session(session, make_user, make_galaxy_session):
def test_current_galaxy_session(make_user, make_galaxy_session):
user = make_user()
galaxy_session = make_galaxy_session(user=user)
assert user.current_galaxy_session == galaxy_session
Expand All @@ -210,7 +209,7 @@ def test_current_galaxy_session(session, make_user, make_galaxy_session):
assert user.current_galaxy_session == new_galaxy_session


def test_next_hid(session, make_history):
def test_next_hid(make_history):
h = make_history()
assert h.hid_counter == 1
h._next_hid()
Expand All @@ -219,7 +218,7 @@ def test_next_hid(session, make_history):
assert h.hid_counter == 5


def test_history_hid_counter_is_expired_after_next_hid_call(session, make_history):
def test_history_hid_counter_is_expired_after_next_hid_call(make_history):
h = make_history()
state = inspect(h)
assert h.hid_counter == 1
Expand All @@ -233,7 +232,7 @@ def test_history_hid_counter_is_expired_after_next_hid_call(session, make_histor
assert h.hid_counter == 2 # check this last: this causes this hid_counter to be reloaded


def test_get_display_name(session, make_ldda, make_hda, make_history, make_library, make_library_folder):
def test_get_display_name(make_ldda, make_hda, make_history, make_library, make_library_folder):

def assert_display_name_converts_to_unicode(item, name):
assert isinstance(item.get_display_name(), str)
Expand Down

0 comments on commit 65530c9

Please sign in to comment.