commit | d8a700f0b11a937af376a1d135d97a5a2f0c444d | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@onlab.us> | Mon May 02 14:42:01 2016 -0700 |
committer | Matteo Scandolo <teo@onlab.us> | Mon May 02 14:42:01 2016 -0700 |
tree | 63b5ab13086c082396dd46bb48c3d44ecaffa72f | |
parent | 9c8df40b6f92e3cb3304e58de23d21d769a56fe7 [diff] |
Creating flavor
diff --git a/xos/tests/api/hooks.py b/xos/tests/api/hooks.py index 5d0da83..60440e0 100644 --- a/xos/tests/api/hooks.py +++ b/xos/tests/api/hooks.py
@@ -54,6 +54,9 @@ for s in AddressPool.objects.all(): s.delete(purge=True) + for s in Flavor.objects.all(): + s.delete(purge=True) + # print 'DB Cleaned' @@ -61,6 +64,11 @@ cleanDB() + # create flavors + small = Flavor() + small.name = "m1.small" + small.save() + # load user user = User.objects.get(email="padmin@vicci.org")