Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Better test for dryrun
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemassa committed Sep 6, 2019
1 parent 5cfb71f commit 1f5090b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_http_with_dryrun(monkeypatch):

mock_send.assert_called_once()
# check that dry run http parameters were set
assert mock_send.call_args[1]['params'] == {'dryRun': 'All'}
assert mock_send.call_args[0][0].url == "http://localhost/api/v1/test?dryRun=All"


def test_http_insecure_skip_tls_verify(monkeypatch):
Expand Down

0 comments on commit 1f5090b

Please sign in to comment.