test_Placer.py 290 B

123456789101112
  1. import pytest
  2. Pmw = pytest.importorskip('Pmw')
  3. from direct.showbase.ShowBase import ShowBase
  4. from direct.tkpanels.Placer import Placer
  5. def test_Placer(window, tk_toplevel):
  6. base = ShowBase()
  7. base.start_direct()
  8. root = Pmw.initialise()
  9. widget = Placer()
  10. base.destroy()