Skip to content

Commit

Permalink
fix specs mocks for discord tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edulauer committed Jun 21, 2024
1 parent e13f2d6 commit 737eb21
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/discord_sender_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@

@pytest.fixture
def mocked_specs():
Specs = namedtuple('Specs', ['discord_webhook', 'hide_filters', 'header_text'])
return Specs(WEBHOOK, False, None)
Specs = namedtuple('Specs',
['discord_webhook',
'hide_filters',
'header_text',
'footer_text'])
return Specs(WEBHOOK, False, None, None)

def test_send_discord_data(session_mocker: MockerFixture, mocked_specs):
session_mocker.patch(
Expand Down

0 comments on commit 737eb21

Please sign in to comment.