Commit 58029cea authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Add code coverage for new features

parent ea2c7203
......@@ -27,7 +27,11 @@ def _test_ImagePanel():
icon = icon.ConvertToImage()
frame = wx.GetApp().GetTopWindow()
panel = ip.ImagePanel(frame)
panel1 = ip.ImagePanel(frame)
wx.Yield()
panel.SetImage(icon)
panel1.SetImage(icon)
wx.Yield()
panel2 = ip.ImagePanel(frame, preserveAspect=True)
wx.Yield()
panel2.SetImage(icon)
wx.Yield()
......@@ -41,6 +41,7 @@ def _test_setColours():
notebook.AddPage(page1, 'page1')
notebook.SetButtonColours(text='#ffffff',
disabledText='#d0d0d0',
default='#000000',
selected='#0000ff')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment