Commit Graph

11326 Commits

Author SHA1 Message Date
5481a4718d HEAD, and futher fixing of mock imports 2013-10-04 23:45:38 +02:00
9cedbc1968 Update the tests to use mock from unittest in Python 3, plus various other small fixes to the tests.
bzr-revno: 2301
2013-10-04 21:17:32 +02:00
3994669c1b Modified the check_dependencies.py script to only require mock if we're using Python 3.2 and earlier. 2013-10-03 21:56:12 +02:00
316f33c058 Change the indentation back to 4 2013-10-02 23:37:00 +02:00
1347ad61d1 Changed the way we create and initialise MediaManagerItems so that we can test things better. 2013-10-02 23:07:20 +02:00
3503c54ce4 Some bugs and minor tweaks. 2013-09-29 23:28:53 +02:00
16c5ded747 HEAD 2013-09-29 23:25:42 +02:00
c30eedda08 Some more updates to some of the tests. 2013-09-29 23:21:47 +02:00
Tim Bentley
57464cfc6a Bye Bye CherryPy - Revised Http Server
bzr-revno: 2300
2013-09-29 06:54:25 +01:00
Tim Bentley
a1b47f08ad fix ref 2013-09-28 21:43:00 +01:00
Tim Bentley
6533fb5bb0 Fix mime types for JSON 2013-09-28 06:10:44 +01:00
Tim Bentley
c05928c3d3 Fix main ui routes 2013-09-27 21:37:42 +01:00
Tim Bentley
8f47af1732 Head 2013-09-26 22:06:57 +01:00
1215494303 Updated more tests 2013-09-22 23:11:03 +02:00
Raoul Snyman
188f312669 Ooops. 2013-09-20 11:35:50 +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
Tim Bentley
870a232e4b Fix mime types add json debugging 2013-09-19 18:05:07 +01:00
Oliver Wieland
f4ab0b23b8 Add a Checkbox at the Bibles settings tab to show or hide the verse numbers
bzr-revno: 2299
2013-09-17 23:06:27 +02:00
Oliver Wieland
dc03e288f8 minor changes in event handler 2013-09-16 18:30:59 +02:00
Jeffrey Smith
d9b2d33f05 ingore __pycache__ folders
bzr-revno: 2298
2013-09-15 14:01:36 +02:00
Tim Bentley
539ed55777 More cleanups 2013-09-14 22:00:58 +01:00
Tim Bentley
b868ecc57d remove reminances of cherrypy 2013-09-14 20:16:14 +01:00
Tim Bentley
2531513ec5 basic working model 2013-09-14 19:46:49 +01:00
Tim Bentley
cca76a90bd pass data to functions 2013-09-14 08:22:01 +01:00
Jeffrey S. Smith
9b82b65ccc Ignore __pycache__ folders 2013-09-13 21:42:12 -05:00
Jeffrey Smith
2511332a9e Fix strip_rtf to handle CJK encodings
bzr-revno: 2297
2013-09-13 17:13:12 +02:00
Jeffrey Smith
1ef5d00d45 Fix various tests and broken code revealed by tests.
bzr-revno: 2296
2013-09-13 17:11:27 +02:00
Tim Bentley
448da916e9 Readonly works - next comes updates 2013-09-12 17:46:57 +01:00
Tim Bentley
d0813eddac Start to remove CherryPy 2013-09-11 22:06:17 +01:00
Jeffrey S. Smith
cb62bf5936 Need a different approach for platform-specific tests 2013-09-11 10:09:36 -05:00
Oliver Wieland
00cb7b8adf fixes wrong url on the remotes tab
separates determination of the local ip address for easier testing

bzr-revno: 2295
2013-09-11 16:41:59 +02:00
Jeffrey Smith
19b639142d Fixed EasyWorship song importer and its tests for Python3.
bzr-revno: 2294
2013-09-11 14:03:22 +02:00
Jeffrey S. Smith
30618ad60c Explain a complex regex used by strip_rtf 2013-09-10 15:36:46 -05:00
Oliver Wieland
1106bca319 added blank line 2013-09-10 20:18:53 +02:00
Jeffrey S. Smith
334cef478d Fix various tests and broken code revealed by tests 2013-09-09 16:10:40 -05:00
Oliver Wieland
e584907718 replaced constant value with enum 2013-09-09 18:32:13 +02:00
Oliver Wieland
86c37481ab doc string added 2013-09-08 21:24:53 +02:00
Jeffrey Smith
02b7f232bc The dependency-checking script may not give a valuable result, since
it runs against 'python' whereas openlp runs against 'python3'.

It may appear at first glance that I removed the check for the 'bs4'
import, but it was actually in the list twice, so I deleted the second.

bzr-revno: 2293
2013-09-08 20:18:12 +02:00
Oliver Wieland
c0d19ec840 rename variable 2013-09-08 18:40:48 +02:00
Oliver Wieland
7d47010304 cleaning tests 2013-09-08 18:24:21 +02:00
Oliver Wieland
2aeaa24871 remotetab.py: separate get ip address for metter testing
test_remotetab.py:tests for get_ip_address
2013-09-08 18:16:18 +02:00
Jeffrey S. Smith
afb8f088a6 Remove extra whitespace 2013-09-08 08:17:14 -05:00
Oliver Wieland
5406a44d59 fixes wrong url on the remotes tab 2013-09-08 11:29:36 +02:00
Jeffrey S. Smith
53ac150337 Fix strip_rtf to handle CJK encodings 2013-09-07 22:50:51 -05:00
Jeffrey S. Smith
c45d225b9d PyIcu is really a Windows-only dependency 2013-09-07 16:29:31 -05:00
Jeffrey S. Smith
e0592a76e4 Remove worthless print statement in EasyWorhip song import test 2013-09-07 13:36:33 -05:00
Jeffrey S. Smith
a23022d84f Fix EasyWorship importer and its tests for py3 2013-09-07 12:33:36 -05:00
Tim Bentley
541f013a5c Fix remotes
bzr-revno: 2292
2013-09-07 13:32:27 +01:00
Tim Bentley
ee6490dc23 Fix missing () 2013-09-07 08:52:52 +01:00
Oliver Wieland
331bd1e9d4 Do not add a space on the front of each verse when no verse number is displayed 2013-09-07 07:30:08 +02:00