Merge pull request #66 from levivm/develop
added model mommy to requirements.txt
This commit is contained in:
commit
68c552c6a4
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
||||||
from django.test import TestCase
|
from django.test import TestCase
|
||||||
|
|
||||||
from model_mommy import mommy
|
|
||||||
from django.core.management import call_command
|
from django.core.management import call_command
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,6 +19,7 @@ class VirtualMachineTypeModelTest(TestCase):
|
||||||
self.HETZNER_RAID6_EXPECTED_PRICE = 216
|
self.HETZNER_RAID6_EXPECTED_PRICE = 216
|
||||||
self.HETZNER_GLUSTERFS_EXPECTED_PRICE = 252
|
self.HETZNER_GLUSTERFS_EXPECTED_PRICE = 252
|
||||||
self.BERN_EXPECTED_PRICE = 202
|
self.BERN_EXPECTED_PRICE = 202
|
||||||
|
|
||||||
call_command('create_vm_types')
|
call_command('create_vm_types')
|
||||||
|
|
||||||
def test_calculate_price(self):
|
def test_calculate_price(self):
|
||||||
|
|
|
@ -16,6 +16,7 @@ psycopg2
|
||||||
django-mptt
|
django-mptt
|
||||||
easy_thumbnails
|
easy_thumbnails
|
||||||
django-polymorphic
|
django-polymorphic
|
||||||
|
model-mommy
|
||||||
|
|
||||||
#PLUGINS
|
#PLUGINS
|
||||||
djangocms_flash
|
djangocms_flash
|
||||||
|
|
Loading…
Reference in a new issue