Skip to content

Commit

Permalink
style: run ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Sep 5, 2024
1 parent 9f527ff commit b28b75b
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 @@ -12,7 +12,7 @@
PASSWORD = os.getenv("TR_PASSWORD", "password")


@pytest.fixture()
@pytest.fixture
def tr_client():
LOGGER.setLevel("INFO")
with Client(host=HOST, port=PORT, username=USER, password=PASSWORD) as c:
Expand All @@ -23,6 +23,6 @@ def tr_client():
c.remove_torrent(torrent.id, delete_data=True)


@pytest.fixture()
@pytest.fixture
def fake_hash_factory():
return lambda: secrets.token_hex(20)

0 comments on commit b28b75b

Please sign in to comment.