summaryrefslogtreecommitdiff
path: root/src/scripts/pyolian/test_eolian.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2018-01-02 21:52:57 +0100
committerDave Andreoli <dave@gurumeditation.it>2018-01-02 21:52:57 +0100
commita2b24d09489930beb949fb1fbc836cc5058f561f (patch)
treef0b3c9c40650057e02184ea5153c4b43ccba7a1a /src/scripts/pyolian/test_eolian.py
parentb9ed84f4edc505737c9f9d034c24e080f5fa2242 (diff)
Pyolian: fix segfault on shutdown
also improve abit all_namespaces performance by using a set (hashable)
Diffstat (limited to 'src/scripts/pyolian/test_eolian.py')
-rwxr-xr-xsrc/scripts/pyolian/test_eolian.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/pyolian/test_eolian.py b/src/scripts/pyolian/test_eolian.py
index c7b9769b4e..5e43f727a6 100755
--- a/src/scripts/pyolian/test_eolian.py
+++ b/src/scripts/pyolian/test_eolian.py
@@ -154,7 +154,7 @@ class TestEolianNamespace(unittest.TestCase):
154 for ns in state.all_namespaces: 154 for ns in state.all_namespaces:
155 self.assertIsInstance(ns, eolian.Namespace) 155 self.assertIsInstance(ns, eolian.Namespace)
156 count += 1 156 count += 1
157 self.assertGreater(count, 100) 157 self.assertGreater(count, 200)
158 158
159 def test_namespace_equality(self): 159 def test_namespace_equality(self):
160 ns1 = eolian.Namespace(state, 'Efl.Io') 160 ns1 = eolian.Namespace(state, 'Efl.Io')