def test_get_user(self): """get_user() makes a GET request to /Users/<id>""" uaac = UAAClient("http://example.com", "foo", False) m = Mock() uaac._request = m uaac.get_user("foo") m.assert_called_with(urljoin("/Users", "foo"), "GET")
def test_get_user(self): """get_user() makes a GET request to /Users/<id>""" uaac = UAAClient('http://example.com', 'foo', False) m = Mock() uaac._request = m uaac.get_user('foo') m.assert_called_with(urljoin('/Users', 'foo'), 'GET')
def test_get_user(self): """get_user() makes a GET request to /Users/<id>""" uaac = UAAClient('http://example.com', 'foo', False) m = Mock() uaac._request = m uaac.get_user('foo') m.assert_called_with(urljoin('/Users', 'foo'), 'GET')