From f8e7fc93f212fbe16d955c023e7b6c107c6b9e49 Mon Sep 17 00:00:00 2001 From: "Christopher P. Anderson" <48180628+topherinternational@users.noreply.github.com> Date: Wed, 3 Jan 2024 21:05:06 +0100 Subject: [PATCH] docs --- tests/pylint_airflow/checkers/test_xcom.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/pylint_airflow/checkers/test_xcom.py b/tests/pylint_airflow/checkers/test_xcom.py index 90b4e4c..4f2099d 100644 --- a/tests/pylint_airflow/checkers/test_xcom.py +++ b/tests/pylint_airflow/checkers/test_xcom.py @@ -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", [ @@ -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