test_Placer.py 313 B

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