Skip to content

Commit

Permalink
refactor(tests): remove unused fixture from test
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Sep 28, 2024
1 parent e37efdf commit 834e626
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ def test_fund_stream(chain, token, payer, stream, stream_life, funding_rate, acc
stream.add_funds(amount, sender=payer)


def test_cancel_stream(
chain, token, payer, controller, MIN_STREAM_LIFE, stream_life, funding_rate, stream
):
def test_cancel_stream(chain, token, payer, controller, MIN_STREAM_LIFE, stream_life, stream):
# Ensure that we are at 1 second before Stream is cancellable
cancel_time = stream.last_update + MIN_STREAM_LIFE - timedelta(seconds=1)
chain.pending_timestamp = int(cancel_time.timestamp())
Expand Down

0 comments on commit 834e626

Please sign in to comment.