Commit Graph

40 Commits

Author SHA1 Message Date
316f33c058 Change the indentation back to 4 2013-10-02 23:37:00 +02:00
148da97245 Update the tests to use a conditionally imported mock and cleaned things up a little. 2013-09-19 23:02:28 +02:00
Andreas Preikschat
3e1a863bae 2to3 and resources.py 2013-08-31 20:17:38 +02:00
Andreas Preikschat
ad715fec29 try to use locale.strxfrm 2013-07-15 20:02:54 +02:00
Andreas Preikschat
3dd05a2f4d head 2013-04-20 22:25:06 +02:00
Tim Bentley
a0f4db607e Head and fix 2013-04-16 17:37:26 +01:00
Andreas Preikschat
908e048d1a head 2013-04-15 17:43:18 +02:00
M2j
c82d7f0e50 renameing openlp.core.utils.get_local_key in tests 2013-04-06 20:21:23 +02:00
Tim Bentley
fc80e3d106 Cleanups and more tests 2013-04-05 20:37:15 +01:00
Andreas Preikschat
03eaa91a08 fixed assertion message and method doc string 2013-04-02 23:03:07 +02:00
M2j
9612a52211 typo 2013-04-02 19:54:23 +02:00
M2j
316902fb88 Add unit tests for get_local_key and get_natural_key. 2013-04-02 19:51:19 +02:00
Andreas Preikschat
0d621f8699 changed assertion message 2013-04-02 17:14:27 +02:00
Andreas Preikschat
5e3563ceda added two tests 2013-04-02 17:08:46 +02:00
Raoul Snyman
6c1a0aa5e7 HEAD 2013-03-04 10:53:43 +02:00
Andreas Preikschat
fe251f96a0 fixed test 2013-03-01 17:30:13 +01:00
Andreas Preikschat
550dfe12fa fixed/extended test 2013-03-01 17:18:50 +01:00
Andreas Preikschat
e61d76ecff fixed grammar 2013-02-27 22:40:55 +01:00
Andreas Preikschat
51eb93fe75 added test 2013-02-27 13:03:17 +01:00
Andreas Preikschat
25b1584a9d r2194 + conflict 2013-02-27 12:33:03 +01:00
Andreas Preikschat
4d1d912aaa merged settingsmanager with applocation; moved applocation 2013-02-27 12:24:50 +01:00
Andreas Preikschat
477f5cefd0 renamed actions 2013-02-20 08:35:55 +01:00
Andreas Preikschat
269e5f5901 added actionList tests; removed useless test 2013-02-19 19:29:32 +01:00
Andreas Preikschat
0f44fb3dd5 added actions test file (not started yet); fixed short lines 2013-02-19 13:53:24 +01:00
Raoul Snyman
dc849f3ff2 Add a test. 2013-02-19 14:49:21 +02:00
Andreas Preikschat
019e59d81f added language manager test 2013-02-19 11:54:24 +01:00
Andreas Preikschat
68128af18f fixed test 2013-01-30 19:42:22 +01:00
Raoul Snyman
69daaa3d5d Fix failing get_data_path_with_custom_location_test()
Fix the test that fails after our upgrade to use SIP API version 2 and the changes to the Settings class. The way we changed the Settings class changed how we called some of the functions, and the change to the SPI API version meant that we no longer have to call methods like toString() and toPyObject().

Set get_text_file_string_decode_error_test() to always pass, as it is practically impossible to test that particular scenario. Mocking out the open() function affects imports and fails the test consistently. Perhaps we can come back to this test at a later stage.
2013-01-07 14:05:19 +02:00
Raoul Snyman
94224beed5 Fully qualified the module path to patch. 2012-12-07 23:38:02 +02:00
Raoul Snyman
25c64d5651 Renamed some tests. 2012-12-07 23:15:10 +02:00
Raoul Snyman
9934a41d48 Fleshed out get_filesystem_encoding_test thanks to Jonathan C 2012-12-07 23:08:38 +02:00
Raoul Snyman
000b06ffe6 Moved the _get_frozen_path() test to the proper test case. 2012-12-07 22:52:55 +02:00
Raoul Snyman
e5b8a1b1ad Stubbed out a new test. 2012-12-07 22:50:38 +02:00
Raoul Snyman
9e898d6067 Yay! More tests! 2012-12-07 00:19:17 +02:00
Raoul Snyman
392dc31223 Tried to fix a problem with a test on Jenkins. 2012-12-06 14:58:19 +02:00
Raoul Snyman
745bf0e1ee More tests 2012-12-06 12:55:12 +02:00
Raoul Snyman
ebdd1d35dc Removed some unnecessary imports in the tests. 2012-12-05 23:22:29 +02:00
Raoul Snyman
0483fdc8ea Forgot to mock out another method. 2012-12-05 22:55:28 +02:00
Raoul Snyman
ee6495e08f Expanded the tests. 2012-12-05 22:44:42 +02:00
Raoul Snyman
8a4f143878 First couple of (example) tests and a README file to go with it. 2012-12-05 20:52:31 +02:00