37 fn = argv[1] |
37 fn = argv[1] |
38 except IndexError: |
38 except IndexError: |
39 fn = None |
39 fn = None |
40 return UnittestWindow(fn) |
40 return UnittestWindow(fn) |
41 |
41 |
|
42 |
42 def main(): |
43 def main(): |
43 """ |
44 """ |
44 Main entry point into the application. |
45 Main entry point into the application. |
45 """ |
46 """ |
46 options = [\ |
47 options = [\ |
47 ("--config=configDir", |
48 ("--config=configDir", |
48 "use the given directory as the one containing the config files"), |
49 "use the given directory as the one containing the config files"), |
49 ] |
50 ] |
50 appinfo = Startup.makeAppInfo(sys.argv, |
51 appinfo = Startup.makeAppInfo(sys.argv, |
51 "Eric5 Unittest", |
52 "Eric5 Unittest", |
52 "file", |
53 "file", |
53 "Graphical unit test application", |
54 "Graphical unit test application", |