diff options
author | Shaheed Haque <srhaque@theiet.org> | 2017-02-04 11:16:19 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2017-02-04 11:30:04 +0000 |
commit | 98d065773413aba437c0bc537c701ed39d38a9b9 (patch) | |
tree | 817da50e7ca9e20ff0993caade125cd029e56d47 /tests/GenerateSipBindings/testscript.py | |
parent | 050f15ef6a0c44dc6a7abbbe0f1954ea1925f473 (diff) | |
download | extra-cmake-modules-98d065773413aba437c0bc537c701ed39d38a9b9.tar.gz extra-cmake-modules-98d065773413aba437c0bc537c701ed39d38a9b9.tar.bz2 |
Bindings: Take account of visibility of classes
Diffstat (limited to 'tests/GenerateSipBindings/testscript.py')
-rw-r--r-- | tests/GenerateSipBindings/testscript.py | 5 |
1 files changed, 5 insertions, 0 deletions
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'" |