gdnative_python/tests/bindings/test_starimport.py

12 lines
382 B
Python
Raw Normal View History

# This test is in it own file to protect other tests from the `import *` side effects
2023-06-02 11:13:10 +02:00
from pandemonium import *
# Class with trailing underscore not are provided on star import
2023-06-02 11:13:10 +02:00
from pandemonium.bindings import _OS, _ProjectSettings
def test_starimport():
assert issubclass(Node, Object)
assert isinstance(OS, _OS)
assert isinstance(ProjectSettings, _ProjectSettings)