Commit Graph

430 Commits

Author SHA1 Message Date
Tomas Groth d9c6e2a228 trunk 2014-05-21 17:56:57 +02:00
Samuel Mehrbrodt 854149408f Add test 2014-05-21 17:31:25 +02:00
Samuel Mehrbrodt 4fadbef196 PEP8 2014-05-21 17:22:13 +02:00
Samuel Mehrbrodt d1814f05de Add test 2014-05-21 17:17:08 +02:00
Tim Bentley dbf2330896 head 2014-05-07 21:37:42 +01:00
Tim Bentley f21d3cfa83 fix tests 2014-05-03 20:32:19 +01:00
Samuel Mehrbrodt f60379b542 Add new test 2014-05-03 17:22:20 +02:00
Samuel Mehrbrodt b02fc541a3 Reorganize tests 2014-05-03 17:22:10 +02:00
Andreas Preikschat deff310f53 removed u' 2014-05-02 08:42:17 +02:00
Tomas Groth bc29a01eb5 head 2014-04-23 21:30:12 +02:00
Tomas Groth 074ab4b1bb Head 2014-04-22 22:18:58 +02:00
Tomas Groth f6231e024a Head 2014-04-20 15:57:12 +02:00
Tim Bentley a2c99317c6 fixes 2014-04-19 06:42:45 +01:00
Tim Bentley f48a3346db fixes 2014-04-19 06:29:00 +01:00
Tim Bentley af792941af pep8 again 2014-04-19 06:13:46 +01:00
Tim Bentley 5dc35112c3 pep8 again 2014-04-19 06:09:54 +01:00
Samuel Mehrbrodt dd4e2c8d61 More PEP8 2014-04-16 21:59:34 +02:00
Samuel Mehrbrodt bb1af7ed00 PEP8 2014-04-16 21:56:54 +02:00
Samuel Mehrbrodt c20939215a PDF Fixes
- Changed some types to float instead of int because the string conversion failed: int('1.1') doesnt work
- Check if files exist before deleting them
- Replace 'pass' with 'continue'. 'pass' is like return, it stops the whole method.

bzr-revno: 2363
2014-04-16 05:47:04 +01:00
Andreas Preikschat cb29c78bb0 Print repository name and revision number when using script (especially the revno is interesting for devs)
+Tell jenkins who triggered the build
+Added a blacklist for outdated tokens
+Use colours to indicate success/failure
+fixed job names

bzr-revno: 2361
2014-04-16 05:42:16 +01:00
Samuel Mehrbrodt 30ceaea2b2 Trunk 2014-04-15 23:11:06 +02:00
Samuel Mehrbrodt e1a9a36ea3 Trunk 2014-04-15 22:53:47 +02:00
Samuel Mehrbrodt 8c18659adb Update verse order when verse names change (OpenLyrics Import)
bzr-revno: 2357
2014-04-15 22:46:54 +02:00
Andreas Preikschat dbd6d74c8d removed not wanted code 2014-04-15 22:30:20 +02:00
Andreas Preikschat 5090a014ae use self.assert and friends 2014-04-15 22:27:32 +02:00
Samuel Mehrbrodt 4640b1b2d9 Trunk 2014-04-15 10:33:21 +02:00
Samuel Mehrbrodt ccc138413e Trunk 2014-04-15 10:15:07 +02:00
Samuel Mehrbrodt e7edaf170f Merge trunk 2014-04-14 21:44:35 +02:00
Andreas Preikschat 8cc3f3b968 head 2014-04-14 21:02:19 +02:00
Andreas Preikschat 2c8d163b09 fixed assertion message 2014-04-14 20:59:28 +02:00
Andreas Preikschat 877fd135d3 head 2014-04-14 20:53:33 +02:00
Samuel Mehrbrodt e0a85a668b Leading whitespace 2014-04-13 12:45:53 +02:00
Samuel Mehrbrodt f3a8c45bd2 Merge trunk 2014-04-13 12:42:57 +02:00
Raoul Snyman b9ba2c68a6 Fix up PEP8 issues. 2014-04-12 22:19:22 +02:00
Raoul Snyman 672eed037c HEAD 2014-04-12 21:48:15 +02:00
Andreas Preikschat 487f4279dd fixed blank line 2014-04-12 19:11:32 +02:00
Andreas Preikschat 321fed97e9 more output for the jenkins script 2014-04-12 18:52:29 +02:00
Andreas Preikschat 2c93a5840b head 2014-04-12 18:05:27 +02:00
Samuel Mehrbrodt ed250c400d Test 2014-04-09 13:10:18 +02:00
Samuel Mehrbrodt 31649b0a8e Better test 2014-04-08 23:20:51 +02:00
Samuel Mehrbrodt 11884adbed Disable two tests for the moment 2014-04-08 23:07:43 +02:00
Samuel Mehrbrodt bfc086749b Test 2014-04-08 23:03:04 +02:00
Samuel Mehrbrodt 5b3a58d1d6 Add newline 2014-04-08 18:40:06 +02:00
Samuel Mehrbrodt 1759c72f36 Test 2014-04-08 16:08:07 +02:00
Samuel Mehrbrodt 2b8586bf99 Test 2014-04-08 13:19:12 +02:00
Tomas Groth bc2d45fc30 Head 2014-04-05 15:27:53 +02:00
Raoul Snyman 5b69472bc2 HEAD 2014-04-04 22:31:55 +02:00
Tim Bentley c38c576f94 test fixes 2014-04-02 19:51:21 +01:00
Raoul Snyman 73941ca56f Renamed a test case and added a test for the trace_error_handler() method. 2014-04-02 01:49:58 +02:00
Andreas Preikschat 729edf1d21 pep8 failure test 2014-03-31 17:44:18 +02:00
Andreas Preikschat 3260de7b7c added another test 2014-03-31 17:31:05 +02:00
Andreas Preikschat 9dd5f30254 be a bit more talky 2014-03-31 17:24:31 +02:00
Andreas Preikschat 3f038ad5c5 break 2014-03-31 17:21:41 +02:00
Andreas Preikschat b391072e9f removed test code 2014-03-31 17:20:17 +02:00
Andreas Preikschat d77c6fe7c0 added renderer test case 2014-03-31 17:17:40 +02:00
Tomas Groth bfbfcd5b15 Head 2014-03-30 13:26:13 +02:00
Raoul Snyman 6ad3fca88e Try to fix bug #1136278 by detecting if the upgrades have already run
bzr-revno: 2343
Fixes: https://launchpad.net/bugs/1136278
2014-03-30 13:02:25 +02:00
Tomas Groth 19558e7a03 head 2014-03-26 19:39:54 +01:00
Samuel Mehrbrodt bf32fe164a Test 2014-03-26 13:06:48 +01:00
Samuel Mehrbrodt 78e7cb5873 Test for add_welcome_page 2014-03-24 14:32:28 +01:00
Tomas Groth 852ec00fd7 Head 2014-03-20 21:11:18 +01:00
Tomas Groth 991661b169 Head 2014-03-19 18:49:46 +01:00
Raoul Snyman 35e3564655 Tests! 2014-03-18 23:03:53 +02:00
Tomas Groth 258f1db411 Merged with head. 2014-03-18 20:40:09 +01:00
Tomas Groth 51ea57f35e Added a test for loading serviceitem with optical media item. 2014-03-17 21:59:58 +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
Tim Bentley 75b27422ad Add renderer tests 2014-01-11 19:31:06 +00:00
Felipe Polo-Wood d2782e099f Merged with Tim's refactoring changes 2014-01-09 14:52:20 -05:00
Tim Bentley e49beeb2c4 More tests 2013-12-31 07:27:07 +00:00
Felipe Polo-Wood 1a83a0a557 Merge head 2013-12-30 03:53:51 -05:00
Felipe Polo-Wood b993b0d4a8 Style changes 2013-12-30 03:35:05 -05:00
Tim Bentley e6bcf7d852 Head and fix confilcts 2013-12-28 21:33:38 +00:00
Felipe Polo-Wood 08682a3bd2 formatting issues 2013-12-28 15:03:45 -05:00
Felipe Polo-Wood 1ef910463c Merge head 2013-12-28 12:06:29 -05:00
Tim Bentley 35c5577cb7 More fixes 2013-12-26 08:56:53 +00:00
Tim Bentley 6d8b5cadb4 Lib cleanup and 2014 2013-12-24 08:56:50 +00:00
Tim Bentley cd9f9e4c8d move registry to common 2013-12-13 17:44:05 +00:00
Tim Bentley 440cefa5f6 formatting 2013-12-06 19:09:29 +00:00
Tim Bentley d0a9423982 Head 2013-12-06 19:00:55 +00:00
Felipe Polo-Wood 04abbd97d0 implemented caching thru the ImageManager
Styling issues
Merge with fix-router changes
2013-11-22 13:21:07 -05:00
Philip Ridout 81c2f1a4b3 updated tests 2013-11-16 21:04:16 +00:00
Philip Ridout c41842125d HEAD 2013-11-16 20:32:50 +00:00
Felipe Polo-Wood 6c3253c7c0 Added caching for thumbnail images 2013-11-07 15:13:15 -05:00
Felipe Polo-Wood 946f5673ac Fixed two wrong line indentations 2013-11-01 12:07:44 -04:00
Felipe Polo-Wood 1759468ea5 - Undid superfluous line formatting 2013-11-01 11:03:43 -04:00
Felipe Polo-Wood 1aae38cb8e Merging 2013-10-27 23:40:38 -04:00
Felipe Polo-Wood b9850e6e68 bunch of cosmetic changes 2013-10-27 22:33:28 -04:00
Andreas Preikschat 6a839dc32a no need for MagicMock (inside another MagicMock)
bzr-revno: 2308
2013-10-26 21:03:57 +02:00
Felipe Polo-Wood fa32ce43d7 Implemented tests for service_item and router 2013-10-25 13:58:55 -04:00
Tim Bentley 63d65da6c1 Head 2013-10-23 20:26:03 +01:00
Tim Bentley b1873016c9 Move and tests 2013-10-23 20:25:46 +01:00
Tim Bentley 1022661160 Theme cleanup start and major class restructure
bzr-revno: 2307
2013-10-23 19:49:39 +01:00
Andreas Preikschat ea8497d559 no need for MagicMock 2013-10-21 09:38:18 +02:00
Tim Bentley 28a94a06fb Duplicate line 2013-10-18 19:11:17 +01:00
Tim Bentley ba0808f551 Fix up json 2013-10-18 19:10:47 +01:00
Tim Bentley 4f3291b2ee Fixes to tests 2013-10-14 06:01:01 +01: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
Tim Bentley a013d17bdd fix tests and add basic test 2013-10-13 18:02:12 +01:00
Andreas Preikschat 29bdf095d3 removed import 2013-10-11 12:15:09 +02:00
Andreas Preikschat 2b3825eaf0 missing imports 2013-10-11 12:13:04 +02:00
Andreas Preikschat f0be2ecc17 head + conflict 2013-10-11 11:48:35 +02:00
Raoul Snyman 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
Raoul Snyman 316f33c058 Change the indentation back to 4 2013-10-02 23:37:00 +02:00
Raoul Snyman 1347ad61d1 Changed the way we create and initialise MediaManagerItems so that we can test things better. 2013-10-02 23:07:20 +02:00
Raoul Snyman 3503c54ce4 Some bugs and minor tweaks. 2013-09-29 23:28:53 +02:00
Raoul Snyman c30eedda08 Some more updates to some of the tests. 2013-09-29 23:21:47 +02:00
Raoul Snyman 1215494303 Updated more tests 2013-09-22 23:11:03 +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
Philip Ridout 52781b9628 more Py3 fixes 2013-09-15 20:42:29 +01:00
Philip Ridout a06469fea0 head 2013-09-15 19:36:58 +01:00
Andreas Preikschat ffe0ccb625 clean up 2013-09-11 17:08:08 +02:00
Andreas Preikschat f1009fbc18 blank 2013-09-11 16:23:32 +02:00
Andreas Preikschat 4999ecb6e6 last test 2013-09-11 16:22:28 +02:00
Andreas Preikschat 1ca117532f more tests 2013-09-11 16:02:17 +02:00
Andreas Preikschat f24f3a751f more tests 2013-09-11 15:51:49 +02:00
Andreas Preikschat bf023ee20d more tests 2013-09-11 15:30:23 +02:00
Andreas Preikschat 0677e389c1 doc 2013-09-11 15:00:34 +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 a5b517fbf0 started to write tests 2013-09-08 12:30:14 +02:00
Andreas Preikschat 3e1a863bae 2to3 and resources.py 2013-08-31 20:17:38 +02:00
Andreas Preikschat ccf5d6535b head 2013-08-31 17:23:46 +02:00
Tim Bentley ba111776ed Remove pickle from the code now 2.0.2 is in 2013-08-25 19:31:15 +01:00
Philip Ridout 49c9663dcf renamed var, removed some uneeded ()'s 2013-08-22 20:20:02 +00:00
Philip Ridout 364fde73c5 Fix #120515 by reimplementing QFileDialog.getOpenFileNames 2013-08-13 19:02:04 +01:00
Andreas Preikschat 5c13035172 fixed tests 2013-07-18 20:56:15 +02:00
Andreas Preikschat 55fbe75695 'fixed' tests 2013-07-17 16:38:14 +02:00
Andreas Preikschat 161a1db12d fixed test 2013-07-17 16:32:29 +02:00
Andreas Preikschat 3a021b6804 Head 2013-07-09 21:47:12 +02:00
Tomas Groth 4e1868983e Merged trunk into branch. 2013-07-06 12:27:08 +02:00
Andreas Preikschat f23aafae46 head 2013-07-05 20:47:32 +02:00
Tomas Groth 3218a2e5df Fixed the use of the patch context manager. 2013-07-05 18:21:16 +02:00
Raoul Snyman cee5132b86 Removed a remnant of Tim's test 2013-07-05 09:47:09 +02:00
Raoul Snyman 8ddca0be2b HEAD 2013-07-04 21:15:24 +02:00
Andreas Preikschat b314b59b52 r2266 2013-07-04 08:41:31 +02:00
Andreas Preikschat e75a87c5c9 head 2013-07-03 19:03:08 +02:00
Tim Bentley ab3fd38551 Fix broken test 2013-07-03 17:34:40 +01:00
Tim Bentley 538e885cfb Fix broken test 2013-07-03 17:34:02 +01:00
Raoul Snyman 2e4b400cbc Removed a test that seemed in the wrong place, testing the wrong things, and committed at the wrong time. 2013-07-02 22:39:39 +02:00
Raoul Snyman 88e1932097 HEAD 2013-07-02 22:28:06 +02:00
Raoul Snyman 8492ae6a4c Fix a bug in SQLAlchemy 0.8 2013-07-02 22:27:28 +02:00
Tomas Groth 3faec43220 Small fix in the osd2osj test, use just one context manager, and in a better way. Also added test for service item validation. 2013-06-26 22:15:30 +02:00
Tomas Groth be84d53478 Inserted GIVEN-WHEN-THEN comments 2013-06-24 22:38:40 +02:00
Tim Bentley 32c7663a45 Convert formatting tags to json 2013-06-24 17:21:46 +01:00
Raoul Snyman 9bf7284b94 HEAD 2013-06-23 17:29:16 +02:00
Tomas Groth 25557784c8 Added test cases for new json format in service files. 2013-06-17 21:01:11 +02:00
Andreas Preikschat f261a95a37 head 2013-06-16 18:48:37 +02:00
Patrick Zimmermann d5cd4aaa91 Merge master. 2013-06-14 22:38:37 +02:00
Andreas Preikschat 67d12883c1 head 2013-06-04 21:36:34 +02:00