Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions tests/callbacks/test_callback_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from datetime import datetime

from parameterized import parameterized
import pytest

from airflow.callbacks.callback_requests import (
CallbackRequest,
Expand All @@ -40,7 +40,8 @@


class TestCallbackRequest:
@parameterized.expand(
@pytest.mark.parametrize(
"input,request_class",
[
(CallbackRequest(full_filepath="filepath", msg="task_failure"), CallbackRequest),
(
Expand Down Expand Up @@ -70,7 +71,7 @@ class TestCallbackRequest:
),
SlaCallbackRequest,
),
]
],
)
def test_from_json(self, input, request_class):
json_str = input.to_json()
Expand Down