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 0fdc2ef commit 3cb219bCopy full SHA for 3cb219b
pybutton/test/resources/links_test.py
@@ -42,7 +42,7 @@ def test_get_info(self):
42
api_post.return_value = link_response
43
44
with patch.object(link, 'api_post', api_post):
45
- response = link.create(link_payload)
+ response = link.get_info(link_payload)
46
47
self.assertEqual(response, link_response)
48
- api_post.assert_called_with('/v1/links', link_payload)
+ api_post.assert_called_with('/v1/links/info', link_payload)
0 commit comments