Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
topherinternational committed Jan 3, 2024
1 parent 2a0a120 commit f8e7fc9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/pylint_airflow/checkers/test_xcom.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@


class TestGetTaskIdsToPythonCallableSpecs:
"""Tests the get_task_ids_to_python_callable_specs helper function which detects the
python_callable functions passed to PythonOperator constructions."""

@pytest.mark.parametrize(
"test_code",
[
Expand Down Expand Up @@ -104,6 +107,8 @@ def aux_func():


class TestGetXComsFromTasks:
"""Tests the get_xcoms_from_tasks helper function which detects the xcom pushes and pulls."""

def test_should_return_empty_on_empty_input(self):
result = get_xcoms_from_tasks(Mock(), {})
# node argument isn't used when input dict is empty, so we can simply use a Mock object
Expand Down

0 comments on commit f8e7fc9

Please sign in to comment.