summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Rezende Campos Falcao <developer@tiagofalcao.com>2010-08-06 17:25:58 +0000
committerTiago Rezende Campos Falcao <developer@tiagofalcao.com>2010-08-06 17:25:58 +0000
commit9020b575b7d466b52f4afab636f22bf1c5e6f28d (patch)
tree712dc2ffd9df3d31d4ab5074285b321c2da02657
parent063387543f0b3ece0b84c5a0bb96f0d2a2f87667 (diff)
Remove all parts in python edje test
SVN revision: 50866
-rw-r--r--tests/edit/01-edje.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/edit/01-edje.py b/tests/edit/01-edje.py
index 4da9834..2689caf 100644
--- a/tests/edit/01-edje.py
+++ b/tests/edit/01-edje.py
@@ -205,9 +205,13 @@ class Basics(unittest.TestCase):
205 self.assertTrue(self.edj.part_del("main_group")) 205 self.assertTrue(self.edj.part_del("main_group"))
206 self.assertTrue(self.edj.part_del("main_box")) 206 self.assertTrue(self.edj.part_del("main_box"))
207 self.assertTrue(self.edj.part_del("main_table")) 207 self.assertTrue(self.edj.part_del("main_table"))
208 self.assertTrue(self.edj.part_del("main_textblock"))
209 self.assertEqual(self.edj.parts, [])
208 self.assertTrue( 210 self.assertTrue(
209 self.edj.part_add("new_rect", edje.EDJE_PART_TYPE_RECTANGLE)) 211 self.edj.part_add("new_rect", edje.EDJE_PART_TYPE_RECTANGLE))
212 self.assertEqual(self.edj.parts, ["new_rect"])
210 self.assertTrue(self.edj.part_del("new_rect")) 213 self.assertTrue(self.edj.part_del("new_rect"))
214 self.assertEqual(self.edj.parts, [])
211 215
212edje.file_cache_set(0) 216edje.file_cache_set(0)
213suite = unittest.TestLoader().loadTestsFromTestCase(Basics) 217suite = unittest.TestLoader().loadTestsFromTestCase(Basics)