From 518a7024e30130e77d66cb5ae451ceb37fe67dc6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 14 Feb 2017 18:28:54 -0800 Subject: [PATCH] Add tests for the rest of the .pyi files --- unittests/test_pi_import.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/unittests/test_pi_import.py b/unittests/test_pi_import.py index f7fee457..a1c98a0d 100644 --- a/unittests/test_pi_import.py +++ b/unittests/test_pi_import.py @@ -59,7 +59,32 @@ class PIImportTest(unittest.TestCase): def test_richtext_pi(self): self.runPI('richtext.pyi') + def test_glcanvas_pi(self): + self.runPI('glcanvas.pyi') + def test_grid_pi(self): + self.runPI('grid.pyi') + + def test_media_pi(self): + self.runPI('media.pyi') + + def test_propgrid_pi(self): + self.runPI('propgrid.pyi') + + def test_ribbon_pi(self): + self.runPI('ribbon.pyi') + + + @unittest.skipIf('wxMSW' not in wx.PlatformInfo, + 'wx.msw only relevant on Windows') + def test_msw_pi(self): + self.runPI('msw.pyi') + + + @unittest.skipIf('wxOSX' not in wx.PlatformInfo, + 'wx.webkit only relevant on Macs') + def test_webkit_pi(self): + self.runPI('webkit.pyi') #---------------------------------------------------------------------------