Revert "Fix: setUp of ID Property tests failed"
authorJacques Lucke <mail@jlucke.com>
Fri, 21 Sep 2018 10:54:43 +0000 (12:54 +0200)
committerJacques Lucke <mail@jlucke.com>
Fri, 21 Sep 2018 10:54:43 +0000 (12:54 +0200)
This reverts commit 52cee1a23c92d30b241d58f7ed65a951ff034dee.

release/scripts/addons
release/scripts/addons_contrib
source/tools
tests/python/bl_pyapi_idprop.py

index e76815171ffa0814ee142ae823776304ca6070db..5f7fba0565a7c9ae93eae31a08fc9bbbd16d333a 160000 (submodule)
@@ -1 +1 @@
-Subproject commit e76815171ffa0814ee142ae823776304ca6070db
+Subproject commit 5f7fba0565a7c9ae93eae31a08fc9bbbd16d333a
index 5c4210d5b78c61137c5f32e7deb7561177ac0894..fecc0db5600405a0c14c70120ae279222861ef80 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 5c4210d5b78c61137c5f32e7deb7561177ac0894
+Subproject commit fecc0db5600405a0c14c70120ae279222861ef80
index 870f46b6e3abe03c0b9907d08f79af47f4b58ee8..11656ebaf7f912cdb1b5eb39c5d0a3b5d492c1aa 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 870f46b6e3abe03c0b9907d08f79af47f4b58ee8
+Subproject commit 11656ebaf7f912cdb1b5eb39c5d0a3b5d492c1aa
index 6b5335d4a8e344a6c042fce6b7d0c61a055aa262..063d68fae2018bac1076bd30fc8552b3a0d826e0 100644 (file)
@@ -15,13 +15,9 @@ class TestHelper:
 
     def setUp(self):
         self._id = bpy.context.scene
-        self._removeProperties()
-        assert len(self._id.keys()) == 0
+        assert(len(self._id.keys()) == 0)
 
     def tearDown(self):
-        self._removeProperties()
-
-    def _removeProperties(self):
         for key in list(self._id.keys()):
             del self._id[key]