Statistics
| Branch: | Tag: | Revision:

root / snf-quotaholder-app / quotaholder_django / test @ e3685916

Name Size
  settings
__init__.py 1.5 kB
__main__.py 2.3 kB
config.py 4.7 kB
createrelease.py 6.5 kB
limits.py 5 kB
qh_init 174 Bytes
simpletests.py 24.5 kB

Latest revisions

# Date Author Comment
e3685916 03/13/2013 05:29 pm Giorgos Korfiatis

Fix some (innocuous) object sharing as kwarg default

b336e6fa 03/11/2013 06:18 pm Georgios D. Tsoukalas

Fix+move HTTP quotaholder client in synnefo.lib

Allow per-service configuration of the (http) quotaholder client.
Kamaki is no longer needed in service (or ganeti) nodes,
because the client has been moved to snf-common.

Also fix the default quotaholder settings for pithos backend to be disabled...

8acd9708 02/27/2013 05:08 pm Giorgos Korfiatis

Optimize get_entity and get_quota calls

6e4e100b 02/26/2013 04:28 pm Giorgos Korfiatis

Fix an issue_commission calculation

The check for available capacity in the target entity
wouldn't account property for the initial quantity.

Make also the unit tests that failed to detect the problem
more robust.

5d395f07 02/14/2013 04:28 pm Giorgos Korfiatis

Import quotaholder exceptions from kamaki in unittests

d551c841 01/11/2013 01:29 pm Georgios D. Tsoukalas

fix+test for issue_commission release logic

issue_commission() with negative quantity is considered
to be a 'release' instead of an 'allocation'.
The limit checks for the conditions or the release were
somewhat incomplete and inconsistent.

The new logic also fixes the bug found by kpap where...

08ce0e6f 01/07/2013 01:52 pm Giorgos Korfiatis

wip Use decimals to store quota values; infinite quotas no more supported

39462ae0 01/07/2013 01:52 pm Giorgos Korfiatis

Define custom integer field that is stored in the DB as decimal

16c63ca4 01/07/2013 01:52 pm Giorgos Korfiatis

Import QH_PRACTICALLY_INFINITE in tests

f631150c 12/21/2012 05:14 pm Giorgos Korfiatis

Add details in exceptions raised in issue_commission

Exceptions regarding limit violations now carry details
as specified in CommissionValueException

View revisions

Also available in: Atom