예제 #1
0
 def test_default_on_custom_one(self):
     print(
         '\n********** Configuration: default=Yes, guilist=[\'CustomWindow1\'] **********'
     )
     self.assertEqual(
         test(guilist=[self.default_gui_mod, self.custom_gui1]), 'OK')
     print()
예제 #2
0
 def test_default_off_custom_one_two(self):
     print(
         '\n********** Configuration: default=No, guilist=[\'CustomWindow1\',\'CustomWindow2\'] **********'
     )
     self.assertEqual(test(guilist=[self.custom_gui1, self.custom_gui2]),
                      'OK')
     print()
예제 #3
0
 def test_default_on(self):
     print('\n********** Simple configuration **********')
     self.assertEqual(test(guilist=[self.default_gui_mod]), 'OK')
     print()
예제 #4
0
 def test_default_off(self):
     print('\n********** Configuration: default=No, guilist=[] **********')
     self.assertEqual(test(guilist=[]), 'OK')
     print()
예제 #5
0
 def test_default_off_custom_one_two(self):
     print '\n********** Configuration: default=No, guilist=[\'CustomWindow1\',\'CustomWindow2\'] **********'
     self.assertEqual(test(guilist=[self.custom_gui1, self.custom_gui2]), 'OK')
     print
예제 #6
0
 def test_default_on_custom_one(self):
     print '\n********** Configuration: default=Yes, guilist=[\'CustomWindow1\'] **********'
     self.assertEqual(test(guilist=[self.default_gui_mod, self.custom_gui1]), 'OK')
     print
예제 #7
0
 def test_default_off(self):    
     print '\n********** Configuration: default=No, guilist=[] **********'
     self.assertEqual(test(guilist=[]), 'OK')
     print
예제 #8
0
 def test_default_on(self):
     print '\n********** Simple configuration **********'
     self.assertEqual(test(guilist=[self.default_gui_mod]), 'OK')
     print
예제 #9
0
 def test_default_off_custom_one(self):
     print '\n********** Configuration: default=No, guilist=[\'CustomWindow1\'] **********'
     self.assertEqual(test(guilist=[self.custom_gui1]), 'OK')
     print