Commit Graph

19 Commits

Author SHA1 Message Date
Raoul Snyman
6531224cec Fix an erroneous and unused import in a test. 2013-01-08 08:20:49 +02: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
e195cc0c56 Writing some more tests 2012-12-10 22:48:37 +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
93fd476383 Expanded the check_directory_exists() test. 2012-12-07 21:08:28 +02:00
Raoul Snyman
4de4a1823c Test check_directory_exists. 2012-12-07 20:10:24 +02:00
Raoul Snyman
23150fefe8 Added a test for the translate() function. 2012-12-07 19:47:33 +02:00
Raoul Snyman
6a1fac1d51 Fixed up some comments. 2012-12-07 00:21:19 +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