mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Trim trailing space unittests directory
This commit is contained in:
@@ -7,7 +7,7 @@ import os
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
class utils_Tests(wtc.WidgetTestCase):
|
||||
|
||||
|
||||
def test_utilsWindowDisabler(self):
|
||||
wd = wx.WindowDisabler()
|
||||
self.assertTrue(not self.frame.IsEnabled())
|
||||
@@ -15,14 +15,14 @@ class utils_Tests(wtc.WidgetTestCase):
|
||||
|
||||
wd = wx.WindowDisabler(self.frame)
|
||||
self.assertTrue( self.frame.IsEnabled())
|
||||
|
||||
|
||||
def test_utilsBusyCursor(self):
|
||||
self.assertTrue(not wx.IsBusy())
|
||||
bc = wx.BusyCursor()
|
||||
self.assertTrue( wx.IsBusy())
|
||||
del bc
|
||||
self.assertTrue(not wx.IsBusy())
|
||||
|
||||
|
||||
def test_utilsBusyCursor2(self):
|
||||
self.assertTrue(not wx.IsBusy())
|
||||
wx.BeginBusyCursor()
|
||||
@@ -33,7 +33,7 @@ class utils_Tests(wtc.WidgetTestCase):
|
||||
def test_utilsBusyCursor3(self):
|
||||
with wx.BusyCursor():
|
||||
self.myYield()
|
||||
|
||||
|
||||
def test_utilsSomeOtherStuff(self):
|
||||
wx.GetBatteryState()
|
||||
wx.GetPowerType()
|
||||
@@ -48,8 +48,8 @@ class utils_Tests(wtc.WidgetTestCase):
|
||||
wx.GetUserId()
|
||||
wx.GetOsDescription()
|
||||
|
||||
|
||||
def test_utilsVersionInfo(self):
|
||||
|
||||
def test_utilsVersionInfo(self):
|
||||
vi = wx.GetLibraryVersionInfo()
|
||||
assert isinstance(vi, wx.VersionInfo)
|
||||
vi.ToString()
|
||||
@@ -60,9 +60,9 @@ class utils_Tests(wtc.WidgetTestCase):
|
||||
vi.Description
|
||||
vi.Name
|
||||
vi.VersionString
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user