mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
Pass data as bytes in UIActionSimulator::Test
The Test parameter no longer is a wxString but a const char*, as the method only handles plain ASCII.
This commit is contained in:
@@ -186,7 +186,7 @@ class uiaction_KeyboardTests(wtc.WidgetTestCase):
|
||||
@unittest.skipIf(sys.platform == 'darwin', 'wx.UIActionSimulator.Text needs work...')
|
||||
def test_uiactionKeyboardText(self):
|
||||
uia = wx.UIActionSimulator()
|
||||
uia.Text("This is a test")
|
||||
uia.Text(b"This is a test")
|
||||
self.waitFor(WAIT*2)
|
||||
|
||||
self.assertEqual(self.tc.GetValue(), "This is a test")
|
||||
|
||||
Reference in New Issue
Block a user