Commit Graph

46 Commits

Author SHA1 Message Date
Samuel Mehrbrodt
dd4e2c8d61 More PEP8 2014-04-16 21:59:34 +02:00
Tim Bentley
c38c576f94 test fixes 2014-04-02 19:51:21 +01:00
Tim Bentley
6d8b5cadb4 Lib cleanup and 2014 2013-12-24 08:56:50 +00:00
Tim Bentley
63685cb29e Move Settings and translate 2013-10-13 21:36:42 +01:00
Tim Bentley
a82c64237c Fix move of check_directory_exists 2013-10-13 18:23:52 +01:00
316f33c058 Change the indentation back to 4 2013-10-02 23:37:00 +02:00
3503c54ce4 Some bugs and minor tweaks. 2013-09-29 23:28:53 +02:00
c30eedda08 Some more updates to some of the tests. 2013-09-29 23:21:47 +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
Jeffrey S. Smith
334cef478d Fix various tests and broken code revealed by tests 2013-09-09 16:10:40 -05:00
Andreas Preikschat
3e1a863bae 2to3 and resources.py 2013-08-31 20:17:38 +02:00
Andreas Preikschat
f23aafae46 head 2013-07-05 20:47:32 +02:00
9bf7284b94 HEAD 2013-06-23 17:29:16 +02:00
Andreas Preikschat
67d12883c1 head 2013-06-04 21:36:34 +02:00
Andreas Preikschat
7a42cd3769 added test 2013-05-18 10:44:03 +02:00
Andreas Preikschat
6d414c0fdb r2240 2013-04-23 23:48:51 +02:00
Andreas Preikschat
a393302a07 fixed test 2013-04-20 19:53:17 +02:00
e6a1d93121 Add tests around some of the functions in the db module
- Fix some import ordering
- Add tests for init_db and get_upgrade_op
- Add an extra line for PEP8 compliance
2013-04-08 23:08:28 +02:00
Andreas Preikschat
f715810ce9 added test 2013-03-30 09:46:34 +01:00
Andreas Preikschat
b864d360d3 r2201 2013-03-06 22:54:13 +01:00
Andreas Preikschat
50538d66db removed not needed line 2013-03-05 15:44:47 +01:00
Andreas Preikschat
d5f4685788 added expand_tags() method test 2013-03-05 15:36:01 +01:00
Andreas Preikschat
4b2d20ff77 final clean ups 2013-03-04 21:44:34 +01:00
Andreas Preikschat
30ad9e5dca fixed comment 2013-03-04 21:40:30 +01:00
Andreas Preikschat
42cba0da29 added clean_tags test 2013-03-04 21:17:13 +01:00
Andreas Preikschat
d0104bf795 fixed comments 2013-02-10 19:59:00 +01:00
Andreas Preikschat
947cfce931 cough... 2013-02-06 22:50:55 +01:00
Andreas Preikschat
396d0b1cd2 remove pytest and renamed mocked function 2013-02-06 22:39:52 +01:00
Andreas Preikschat
ed38ba3519 fixed comments 2013-02-06 21:47:57 +01:00
Andreas Preikschat
fe74e66400 docs ;) 2013-02-06 20:55:28 +01:00
Andreas Preikschat
2c8f0e66b2 comleted tests 2013-02-06 20:45:11 +01:00
Andreas Preikschat
022f0e0184 started with tests 2013-02-06 18:36:36 +01:00
Raoul Snyman
cdfc423456 Attempt to fix a test which breaks on our CI server because it uses an older version of Mock. 2013-01-21 22:15:10 +02:00
Raoul Snyman
007b87ea9c Add some tests to cover validate_thumb() 2013-01-21 15:57:09 +02:00
Raoul Snyman
47ecdbd74c Make the test pass, too. 2013-01-21 15:17:27 +02:00
Raoul Snyman
d5bb154354 Whoops, we need datetime imported. 2013-01-21 15:16:41 +02:00
Raoul Snyman
d1bd72a508 Add a test for Jonathan to complete. 2013-01-21 15:04:18 +02:00
Raoul Snyman
2b0ac109e3 Added another tests for the check_item_selected() function. 2013-01-20 23:09:52 +02:00
Raoul Snyman
1f51426a78 Moved some stuff around and added some more tests 2013-01-20 22:53:58 +02:00
Raoul Snyman
8c916254e4 HEAD 2013-01-20 21:33:26 +02:00
Raoul Snyman
6531224cec Fix an erroneous and unused import in a test. 2013-01-08 08:20:49 +02:00
Raoul Snyman
b438fa2218 HEAD 2013-01-07 22:22:11 +02:00
Raoul Snyman
cbb8ad02b6 Add tests for build_icon. 2013-01-07 22:21:14 +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
25c64d5651 Renamed some tests. 2012-12-07 23:15:10 +02:00