SameerMesiah97 commented on code in PR #73864:
URL: https://github.com/apache/airflow/pull/73864#discussion_r4127226968


##########
providers/jenkins/tests/unit/jenkins/operators/test_jenkins_job_trigger.py:
##########
@@ -339,3 +339,26 @@ def test_build_job_request_settings(self):
 
         assert mock_request.method == "POST"
         assert mock_request.url == "http://apache.org";
+
+    @pytest.mark.parametrize(
+        ("parameters", "expected"),
+        [
+            pytest.param(
+                '{"dry_run": true, "notify": false}', {"dry_run": True, 
"notify": False}, id="json booleans"
+            ),
+            pytest.param("{'dry_run': True}", {"dry_run": True}, id="python 
literals"),
+        ],

Review Comment:
   I would add the following test case:
   
   ```
    pytest.param(
               '{"dry_run": true, "optional": null}',
               {"dry_run": True, "optional": None},
               id="json null",
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to