Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-client @ 52c4fcef

Name Size
  astakosclient
COPYRIGHT 1.5 kB
Changelog 0 Bytes
MANIFEST.in 53 Bytes
README 275 Bytes
distribute_setup.py 15.4 kB
setup.py 6.4 kB

Latest revisions

# Date Author Comment
83325b42 03/12/2013 03:54 pm Ilias Tsitsimpis

Run setup.py through flake8

cbc0b438 03/12/2013 03:54 pm Ilias Tsitsimpis

Implement low-level _callAstakos function

This function will handle all requests to Astakos.
On top of this we should build high level wrapper
functions to handle more specific calls/requests
to Astakos. _callAstakos function should log
every single action.

f8388a90 03/12/2013 03:54 pm Ilias Tsitsimpis

Separate actual _doRequest from _callAstakos

Creating a new function `_doRequest' to handle
the actual requests to astakos service makes
it easy to mock it later for unit testing
our module.

57ba2dfc 03/12/2013 03:54 pm Ilias Tsitsimpis

Implement the mocked _doRequest for unit testing

When unit testing our astakos-client module we have to
replace it's _doRequest function with some dummy ones.
In this commit we create this dummy functions that are
going to be used through our tests.

bc56a641 03/12/2013 03:54 pm Ilias Tsitsimpis

First test for _callAstakos, raise socket error

The first unit test for _callAstakos function, checks
the answer when there is no internet connection
(should raise a socket exception).

b2a2fe7a 03/12/2013 03:54 pm Ilias Tsitsimpis

Add more unit tests for _callAstakos function

52c4fcef 03/12/2013 03:54 pm Ilias Tsitsimpis

Implement a simple `retry' decorator

99165736 02/25/2013 03:42 pm Christos Stavrakakis

Initialize snf-astakos-client

View revisions

Also available in: Atom