

@mock.patch('jellyroll.providers.utils.getxml')
def test_client_call(self, mocked):
    c = delicious.DeliciousClient('username', 'password')
    res = c.foo.bar(a=1, b=2)
    mocked.assert_called_with('https://api.del.icio.us/v1/foo/bar?a=1&b=2', username='username', password='password')

dataset/ETHPy150Open jacobian-archive/jellyroll/src/jellyroll/tests/providers/test_delicious.py DeliciousClientTests.test_client_call/original