1. 15 Apr, 2013 1 commit
  2. 04 Apr, 2013 1 commit
    • Stavros Sachtouris's avatar
      Redesign http connection module · c2b5da2f
      Stavros Sachtouris authored
      Merge everything to kamaki.clients
      
      Remove multiple hierarchies of connection classes (== abandon support for
          alternative connection methods, e.g. for requests from pypi)
      
      New connection classes are
      - RequestManager
      - ResponseManager
      Semantics:
          RequestManager constructor commits a request without performing it
            but it performs all sanity checks for url, path, method and params
          RequestManager.perform will perform the commited request, if called
          ResponseManager constructor needs a RequestManager instance
          ResponseManager.(various properties)
              request is pooled from a ContextManagerPool (objpool) when needed.
              Results are cached and used as long as the ResponseManager instance
              is alive
      
      Remove KamakiConnection/ResponseErrors, use ClientError wrapers for everything
      
      Remove the connection livetest
      
      TODO: Adjust unittests
      c2b5da2f
  3. 22 Mar, 2013 1 commit
    • Stavros Sachtouris's avatar
      Apply a simple naming convention for unit tests · 3c50df2e
      Stavros Sachtouris authored
      Naming convention:
      
      Actual functionality:
      
      In package kamaki.clients.pkg there is class C containing a method M
      Test it in a package kamaki.clients.pkg.test, with a class C + a method test_M
      Command line run:
          python ${kamaki}/kamaki/clients/pkg/test.py C M
      or
          python ${kamaki}/kamaki/clients/test.py C M
      
      In package kamaki.clients there is a module mod containing a method M
      Test it in a package kamaki.clients.mod, with a class Mod + a method test_M
      Command line run:
          python ${kamaki}/kamaki/clients/mod/test.py Mod M
      or
          python ${kamaki}/kamaki/clients/test.py Mod M
      3c50df2e
  4. 15 Mar, 2013 5 commits
  5. 14 Mar, 2013 30 commits
  6. 13 Mar, 2013 1 commit
  7. 12 Mar, 2013 1 commit