mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-05 17:30:26 +02:00
26 lines
593 B
Python
26 lines
593 B
Python
import unittest
|
|
from unittests import wtc
|
|
import wx
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class printdlg_Tests(wtc.WidgetTestCase):
|
|
|
|
# TODO: Add some better unittests here. In the meantime see
|
|
# samples/printing/printing.py
|
|
|
|
def test_printdlg1(self):
|
|
dlg = wx.PrintDialog(self.frame)
|
|
dlg.Destroy()
|
|
|
|
|
|
def test_printdlg2(self):
|
|
dlg = wx.PageSetupDialog(self.frame)
|
|
dlg.Destroy()
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|