aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/samplebinding/namespace_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/samplebinding/namespace_test.py')
-rw-r--r--sources/shiboken2/tests/samplebinding/namespace_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/samplebinding/namespace_test.py b/sources/shiboken2/tests/samplebinding/namespace_test.py
index 23480d4c4..8171e0e43 100644
--- a/sources/shiboken2/tests/samplebinding/namespace_test.py
+++ b/sources/shiboken2/tests/samplebinding/namespace_test.py
@@ -43,6 +43,11 @@ from sample import *
from shiboken_test_helper import objectFullname
+class TestVariablesUnderNamespace(unittest.TestCase):
+ def testIt(self):
+ self.assertEqual(SampleNamespace.variableInNamespace, 42)
+
+
class TestEnumUnderNamespace(unittest.TestCase):
def testInvisibleNamespace(self):
o1 = EnumOnNamespace.Option1