8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b56321 commit 572257fCopy full SHA for 572257f
tests/unit/test_git.py
@@ -75,7 +75,13 @@ def test_update(self):
75
"""Show that a user can update the reference."""
76
77
self.instance.update('fakesha', True)
78
- self.session.patch.assert_called_once_with(
79
- delete_url_for(),
80
- data='{"sha": "fakesha", "force": true}'
81
- )
+ try:
+ self.session.patch.assert_called_once_with(
+ delete_url_for(),
+ data='{"force": true, "sha": "fakesha"}'
82
+ )
83
+ except AssertionError:
84
85
86
+ data='{"sha": "fakesha", "force": true}'
87
0 commit comments