Tim Bentley
151f1017c5
finished
2014-04-02 20:35:09 +01:00
Tim Bentley
c38c576f94
test fixes
2014-04-02 19:51:21 +01:00
Tim Bentley
85111766d5
Migrate tests and add copyright
2014-03-14 22:08:44 +00:00
Tomas Groth
ed03ec2195
Fixes for tests on wine/windows
2014-03-13 21:59:10 +01:00
Jonathan Springer
92e9ef9394
Missed one
2014-03-12 15:05:06 -04:00
Jonathan Springer
6f05711414
Fixes settings initialization in tests to actually use temporary ini file.
2014-03-12 01:31:19 -04:00
Tim Bentley
508d050b4c
Head
2013-12-24 11:32:56 +00:00
Tim Bentley
6d8b5cadb4
Lib cleanup and 2014
2013-12-24 08:56:50 +00:00
3204a4db72
- Specify OpenLP as the user agent when querying SF.net
...
- Fix another test
- Update tests for get_web_page
2013-12-20 21:25:42 +02:00
06d08f61a6
Fix bug #1211049 : Add a list of valid user agents and a method to return an appropriate user agent for the current platform
...
Fixes: https://launchpad.net/bugs/1211049
2013-12-18 23:44:00 +02:00
Tim Bentley
63685cb29e
Move Settings and translate
2013-10-13 21:36:42 +01:00
Tim Bentley
a013d17bdd
fix tests and add basic test
2013-10-13 18:02:12 +01:00
Tim Bentley
b860abb23b
fix fields
2013-10-13 16:52:04 +01:00
Tim Bentley
257fba8548
Start theme clean up
2013-10-13 14:51:13 +01:00
Jeffrey S. Smith
ba6ff95539
Merged mock changes
2013-10-04 16:14:04 -05:00
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
Jeffrey S. Smith
1ac75c85fd
Handle tests with platform-dependent behavior carefully
2013-09-13 14:23:31 -05: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