mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
tests: Add unit test to check new panda3d.net module
This commit is contained in:
parent
92db1840f9
commit
b605e1240c
@ -36,6 +36,13 @@ def test_imports_panda3d():
|
|||||||
importlib.import_module('panda3d.%s' % (module))
|
importlib.import_module('panda3d.%s' % (module))
|
||||||
|
|
||||||
|
|
||||||
|
def test_imports_panda3d_net():
|
||||||
|
from panda3d import core
|
||||||
|
from panda3d import net
|
||||||
|
assert core.ConnectionWriter == net.ConnectionWriter
|
||||||
|
assert core.ConnectionWriter.__module__ == 'panda3d.net'
|
||||||
|
|
||||||
|
|
||||||
def test_imports_direct():
|
def test_imports_direct():
|
||||||
import direct.actor.Actor
|
import direct.actor.Actor
|
||||||
import direct.actor.DistributedActor
|
import direct.actor.DistributedActor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user