From 98d065773413aba437c0bc537c701ed39d38a9b9 Mon Sep 17 00:00:00 2001 From: Shaheed Haque Date: Sat, 4 Feb 2017 11:16:19 +0000 Subject: Bindings: Take account of visibility of classes --- tests/GenerateSipBindings/testscript.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/GenerateSipBindings/testscript.py') diff --git a/tests/GenerateSipBindings/testscript.py b/tests/GenerateSipBindings/testscript.py index 98443d53..b388841f 100644 --- a/tests/GenerateSipBindings/testscript.py +++ b/tests/GenerateSipBindings/testscript.py @@ -130,3 +130,8 @@ try: assert False except AttributeError as e: assert str(e) == "'Visible' object has no attribute 'invisible_fn'" +try: + invisible = PyTest.CppLib.Invisible() + assert False +except AttributeError as e: + assert str(e) == "module 'PyTest.CppLib' has no attribute 'Invisible'" -- cgit v1.2.1