Commit Graph

35 Commits

Author SHA1 Message Date
Tim Bentley 3a8b068af8 Year older 2015-12-31 22:46:06 +00:00
Raoul Snyman 02128c85f0 Fix bug #1437771: Clear the song after every import
- Set processed song to None after importing
- Update tests to check that song is None after importing
- Remove tests that were testing OptionParser, and replace with tests testing parse_options()
- Fix some docstring typos causing some tests to have a name of " (yes, a single double-quote)

Fixes: https://launchpad.net/bugs/1437771
2015-03-31 22:58:51 +02:00
Phill Ridout 52a1033505 test tidies 2015-01-29 18:26:00 +00:00
Phill Ridout 0cc2ae5998 Fix exception raised on mac
Fixes: https://launchpad.net/bugs/1414360
2015-01-27 19:57:09 +00:00
Raoul Snyman de213b0f66 Copyright cleanup time,
bzr-revno: 2479
2015-01-19 08:34:29 +00:00
Raoul Snyman ffcea13021 Updated the copyright. 2015-01-18 15:39:21 +02:00
Phill Ridout e5bae7e885 Fixes1410694 by fixing typo, also added additional error. Added the OS Name and version to the version file request headers
Fixes: https://launchpad.net/bugs/1410694
2015-01-14 21:35:02 +00:00
Tim Bentley f3c09af379 Years go by 2014-12-31 10:58:13 +00:00
Tim Bentley 93d0314b7e General fixes 2014-12-22 17:34:43 +00:00
Tomas Groth 519119aecb Fixed test to reflect 30 sec timeout in get_web_page 2014-11-07 10:41:37 +01:00
Andreas Preikschat deff310f53 removed u' 2014-05-02 08:42:17 +02:00
Tim Bentley 151f1017c5 finished 2014-04-02 20:35:09 +01:00
Tomas Groth ed03ec2195 Fixes for tests on wine/windows 2014-03-13 21:59:10 +01: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
Raoul Snyman 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
Raoul Snyman 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 a013d17bdd fix tests and add basic test 2013-10-13 18:02:12 +01:00
Jeffrey S. Smith ba6ff95539 Merged mock changes 2013-10-04 16:14:04 -05:00
Raoul Snyman 316f33c058 Change the indentation back to 4 2013-10-02 23:37:00 +02:00
Raoul Snyman 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 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
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 94224beed5 Fully qualified the module path to patch. 2012-12-07 23:38:02 +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