summaryrefslogtreecommitdiff
path: root/src/scripts/pyolian/test_eolian.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2018-03-11 15:52:52 +0100
committerDave Andreoli <dave@gurumeditation.it>2018-03-11 15:52:52 +0100
commit2355df0e4f20dfa9cf322be7521f7916ad1ea9c5 (patch)
treea75dfb57a9874b6636ee76edc9c65b6ef25b0d09 /src/scripts/pyolian/test_eolian.py
parent752a6b107018f692705c184b4952045d2130fd6f (diff)
Pyolian: remove the useless Object.type binding
This is useless in py as Objects are never returned directly, you always get the correct subtype (Class, Variable, etc..). It was also clashing with Class.type
Diffstat (limited to '')
-rwxr-xr-xsrc/scripts/pyolian/test_eolian.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/scripts/pyolian/test_eolian.py b/src/scripts/pyolian/test_eolian.py
index 41f3bf7398..8740837f39 100755
--- a/src/scripts/pyolian/test_eolian.py
+++ b/src/scripts/pyolian/test_eolian.py
@@ -275,11 +275,6 @@ class TestEolianObject(unittest.TestCase):
275 obj = eolian_db.object_by_name_get('Efl.Ui.Frame') 275 obj = eolian_db.object_by_name_get('Efl.Ui.Frame')
276 self.assertEqual(obj.name, 'Efl.Ui.Frame') 276 self.assertEqual(obj.name, 'Efl.Ui.Frame')
277 277
278 @unittest.expectedFailure # Object.type clash with Class.type
279 def test_type(self):
280 obj = eolian_db.object_by_name_get('Efl.Ui.Frame')
281 self.assertIs(obj.type, eolian.Eolian_Object_Type.CLASS)
282
283 def test_file(self): 278 def test_file(self):
284 obj = eolian_db.object_by_name_get('Efl.Ui.Frame') 279 obj = eolian_db.object_by_name_get('Efl.Ui.Frame')
285 self.assertEqual(obj.file, 'efl_ui_frame.eo') 280 self.assertEqual(obj.file, 'efl_ui_frame.eo')