gdnative_python/tests/bindings/test_starimport.py

12 lines
370 B
Python

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