Cleaned out the tests folder. Added simple test gerber. Added simple unit test using the GUI.

This commit is contained in:
Juan Pablo Caram
2015-10-27 21:27:27 -04:00
parent 45c7f8efab
commit 95f51b2870
11 changed files with 96 additions and 20 deletions

View File

@@ -89,7 +89,7 @@ class App(QtCore.QObject):
new_object_available = QtCore.pyqtSignal(object)
message = QtCore.pyqtSignal(str, str, str)
def __init__(self):
def __init__(self, post_gui=None):
"""
Starts the application. Takes no parameters.
@@ -512,6 +512,11 @@ class App(QtCore.QObject):
print "ERROR: ", ext
sys.exit(2)
# Post-GUI initialization: Experimental attempt
# to perform unit tests on the GUI.
if post_gui is not None:
post_gui(self)
App.log.debug("END of constructor. Releasing control.")
def defaults_read_form(self):