]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Remove print statement in db api test
authorJohn Griffith <john.griffith@solidfire.com>
Sat, 24 Aug 2013 15:57:40 +0000 (09:57 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Sat, 24 Aug 2013 15:57:40 +0000 (09:57 -0600)
Remove the encryption related print statements in
test_dp_api, this should bring us up to speed
now for updated requirements and take care of the
py3.3 incompat print issues.

Change-Id: If7475cc43d3c0b443908f846d76071913536fdf4

cinder/tests/test_db_api.py

index 83805e4575a76b84be20d367cd46f135d2c2d25a..283029d9169fac9c46add6530e11dc8b6bcda092 100644 (file)
@@ -534,18 +534,14 @@ class DBAPIEncryptionTestCase(BaseTest):
     def test_volume_type_encryption_update_or_create(self):
         values = self._get_values()
         for i, encryption in enumerate(self.created):
-            print "values[%s] = %s" % (i, values[i])
-            print "encryption = %s" % encryption.__dict__
             self._assertEqualObjects(values[i], encryption,
                                      self._ignored_keys)
 
     def test_volume_type_encryption_get(self):
         for encryption in self.created:
-            print "encryption = %s" % encryption.__dict__
             encryption_get = \
                 db.volume_type_encryption_get(self.ctxt,
                                               encryption['volume_type_id'])
-            print "encryption_get = %s" % encryption_get.__dict__
             self._assertEqualObjects(encryption, encryption_get,
                                      self._ignored_keys)