Statistics
| Branch: | Tag: | Revision:

root / db @ 52194743

Name Size
  fixtures
  management
__init__.py 0 Bytes
admin.py 1.7 kB
bill_calculator.py 197 Bytes
charger.py 1 kB
credit_allocator.py 967 Bytes
db_controller.py 4 kB
models.py 15.8 kB
tests.py 5.7 kB
views.py 26 Bytes

Latest revisions

# Date Author Comment
52194743 02/22/2011 01:57 pm Vangelis Koukis

Update fixtures, introduce created/updated fields.

Introduce auto-generated created/updated fields in all models,
use two different fixtures, one for db initialization, one for testing. * All models have created/updated fields. * VirtualMachine model has an owner field....

29833195 02/22/2011 01:09 pm Christos Psaltis

moved fixtures to proper folder db/fixtures

6a94c3c4 02/22/2011 01:05 pm Christos Psaltis

renamed fixtures file so it can be called automatically

43d8f0e4 02/21/2011 04:53 pm Vassilios Karakoidas

Corrected a comment in Flavor.find_cost()

8bda0440 02/21/2011 04:49 pm Vassilios Karakoidas
  • Removed FlavorCostHistoryTestCase
  • Migrated find_cost test in FlavorTestCase
  • Moved FlavorCostHistory.find_cost() -> Flavor.find_cost()
1583f11a 02/21/2011 04:01 pm Vassilios Karakoidas
  • Moved Limit.get_limit_from_user() to SynnefoUser.get_limit()
  • CreditAllocatorTestCase is modified accordingly to check the new method
104c3c5f 02/21/2011 12:50 pm Markos Gogoulos

fixed previous commit problems. removed UserLimit from admin.py, since no UserLimit model is on the models.py

62c6d260 02/21/2011 01:52 am Vassilios Karakoidas
  • Implemented VirtualMachine.get_accounting_logs()
  • Added VirtualMachineTestCase unit test
  • Now the db_test_data adds AccountingLog entries for 1003 VM (also introduced some corrections in Disk models data
  • Working on the charger which is still completelly broken (along with the related test case)
df9dc46b 02/20/2011 11:43 pm Vassilios Karakoidas
  • Minor comment corrections
e3bc2088 02/20/2011 11:30 pm Vassilios Karakoidas
  • Unit tests are greatly simplified
  • All unit tests are using fixtures

View revisions

Also available in: Atom