diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-03-17 11:10:58 -0400 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-03-17 11:10:58 -0400 |
| commit | 137bbc37e9fb664d0b97a607b5f69c38df938077 (patch) | |
| tree | 76383d238f332a0255d2898b13e4fadf9f764999 /nova | |
| parent | 66d9c0d51d410998de86508359135a7d978997ef (diff) | |
| download | nova-137bbc37e9fb664d0b97a607b5f69c38df938077.tar.gz nova-137bbc37e9fb664d0b97a607b5f69c38df938077.tar.xz nova-137bbc37e9fb664d0b97a607b5f69c38df938077.zip | |
No need to modify this test case function as well.
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/tests/api/openstack/test_servers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/api/openstack/test_servers.py b/nova/tests/api/openstack/test_servers.py index 6969e88c7..d0b07b7ae 100644 --- a/nova/tests/api/openstack/test_servers.py +++ b/nova/tests/api/openstack/test_servers.py @@ -976,7 +976,7 @@ class TestServerInstanceCreation(test.TestCase): for item in metadata.iteritems(): body_parts.append('<meta key="%s">%s</meta>' % item) body_parts.append('</metadata>') - if 'personality' in server and server['personality'] is not None: + if 'personality' in server: personalities = server['personality'] body_parts.append('<personality>') for file in personalities: |
