commit | fd3330cdfd0bef14f7d64e4396b357a4471b4a9e | [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 | bf7906b67399b9487c6d007c4dfe0091d9fd8b1b | |
parent | 90491d9ea6bce28bc56fcc37d3232628fb37dcef [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")