mirror of https://github.com/chriskiehl/Gooey.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
840 B
46 lines
840 B
'''
|
|
Created on Jan 7, 2014
|
|
|
|
@author: Chris
|
|
'''
|
|
|
|
import os
|
|
import sys
|
|
import unittest
|
|
|
|
import wx
|
|
|
|
from gooey.gui.client_app import ClientApp
|
|
from gooey.gui import argparse_test_data
|
|
from gooey.gui.windows import advanced_config
|
|
|
|
|
|
class TestAdvancedConfigPanel(unittest.TestCase):
|
|
def setUp(self):
|
|
self.parser = argparse_test_data.parser
|
|
|
|
def buildWindow(self):
|
|
app = wx.PySimpleApp()
|
|
module_name = os.path.split(sys.argv[0])[-1]
|
|
frame = wx.Frame(None, -1, module_name, size=(640, 480))
|
|
|
|
panel = advanced_config.AdvancedConfigPanel(frame, ClientApp(self.parser))
|
|
frame.Show()
|
|
app.MainLoop()
|
|
|
|
def testAdvancedConfigPanel(self):
|
|
self.buildWindow()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
#import sys;sys.argv = ['', 'Test.testName']
|
|
unittest.main()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|