mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-05 17:30:26 +02:00
24 lines
572 B
Python
24 lines
572 B
Python
import unittest
|
|
from unittests import wtc
|
|
import wx
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class snglinst_Tests(wtc.WidgetTestCase):
|
|
|
|
def test_snglinstCtor(self):
|
|
si = wx.SingleInstanceChecker('PhoenixUnitTests')
|
|
si.IsAnotherRunning()
|
|
|
|
def test_snglinstDefaultCtor(self):
|
|
si = wx.SingleInstanceChecker()
|
|
si.Create('PhoenixUnitTests')
|
|
si.IsAnotherRunning()
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|