summaryrefslogtreecommitdiffstats
path: root/snaps/openstack/tests/create_flavor_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'snaps/openstack/tests/create_flavor_tests.py')
-rw-r--r--snaps/openstack/tests/create_flavor_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/snaps/openstack/tests/create_flavor_tests.py b/snaps/openstack/tests/create_flavor_tests.py
index 4852d06..3eb07bd 100644
--- a/snaps/openstack/tests/create_flavor_tests.py
+++ b/snaps/openstack/tests/create_flavor_tests.py
@@ -399,7 +399,7 @@ def validate_flavor(nova, flavor_settings, flavor):
equals = False
break
- swap = str()
+ swap = None
if flavor_settings.swap != 0:
swap = flavor_settings.swap