Implement low-level _callAstakos function
This function will handle all requests to Astakos.On top of this we should build high level wrapperfunctions to handle more specific calls/requeststo Astakos. _callAstakos function should logevery single action.
Separate actual _doRequest from _callAstakos
Creating a new function `_doRequest' to handlethe actual requests to astakos service makesit easy to mock it later for unit testingour module.
Implement the mocked _doRequest for unit testing
When unit testing our astakos-client module we have toreplace it's _doRequest function with some dummy ones.In this commit we create this dummy functions that aregoing to be used through our tests.
First test for _callAstakos, raise socket error
The first unit test for _callAstakos function, checksthe answer when there is no internet connection(should raise a socket exception).
Initialize snf-astakos-client
View revisions
Also available in: Atom