philipp/winterrodeln/wrpylib.git
4 years agoRemove unused import mwmarkup.
philipp [Mon, 11 Sep 2017 15:08:07 +0000 (15:08 +0000)]
Remove unused import mwmarkup.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2704 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoMoved dbkey_to_title from mwapi to mwmarkup.
philipp [Sun, 29 Jan 2017 22:19:13 +0000 (22:19 +0000)]
Moved dbkey_to_title from mwapi to mwmarkup.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2636 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoReplaced assert statements with assertEqual in test_wrmwmarkup.py.
philipp [Sun, 29 Jan 2017 22:19:11 +0000 (22:19 +0000)]
Replaced assert statements with assertEqual in test_wrmwmarkup.py.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2635 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoUpdated parse_wrmap to accept normal strings.
philipp [Sun, 29 Jan 2017 22:19:09 +0000 (22:19 +0000)]
Updated parse_wrmap to accept normal strings.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2634 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoRemoved unused functions from wrmwmarkup.
philipp [Sun, 29 Jan 2017 22:19:08 +0000 (22:19 +0000)]
Removed unused functions from wrmwmarkup.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2633 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoRepaired function update_wrmapcache.
philipp [Sun, 29 Jan 2017 22:19:06 +0000 (22:19 +0000)]
Repaired function update_wrmapcache.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2632 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoRemoved unused line in update_wrreportcache.
philipp [Sun, 29 Jan 2017 22:19:05 +0000 (22:19 +0000)]
Removed unused line in update_wrreportcache.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2631 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoMade test_wrregioncache_table independent of wrregioncache.id.
philipp [Sun, 29 Jan 2017 22:19:03 +0000 (22:19 +0000)]
Made test_wrregioncache_table independent of wrregioncache.id.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2630 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoAdded tests for inn_from_gasthausbox and inn_to_gasthausbox where the Gasthausbox...
philipp [Sun, 29 Jan 2017 22:19:02 +0000 (22:19 +0000)]
Added tests for inn_from_gasthausbox and inn_to_gasthausbox where the Gasthausbox contains "Nein" entries.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2629 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoChanged some subtests in test_inn_from_gasthausbox and test_inn_to_gasthausbox to...
philipp [Sun, 29 Jan 2017 22:19:00 +0000 (22:19 +0000)]
Changed some subtests in test_inn_from_gasthausbox and test_inn_to_gasthausbox to contain more data.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2628 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoAdded docstring to webauskunft_from_str.
philipp [Sun, 29 Jan 2017 22:18:59 +0000 (22:18 +0000)]
Added docstring to webauskunft_from_str.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2627 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoFixed conversion errors in sledrun_to_rodelbahnbox.
philipp [Sun, 29 Jan 2017 22:18:57 +0000 (22:18 +0000)]
Fixed conversion errors in sledrun_to_rodelbahnbox.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2626 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoFixed conversion errors in inn_to_gasthausbox.
philipp [Sun, 29 Jan 2017 22:18:55 +0000 (22:18 +0000)]
Fixed conversion errors in inn_to_gasthausbox.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2625 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoRepaired function update_wrinncache.
philipp [Sun, 29 Jan 2017 22:18:53 +0000 (22:18 +0000)]
Repaired function update_wrinncache.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2624 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoCosmetic whitespace change.
philipp [Sun, 29 Jan 2017 22:18:52 +0000 (22:18 +0000)]
Cosmetic whitespace change.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2623 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoAdded further tests for test_inn_to_gasthausbox_none.
philipp [Sun, 29 Jan 2017 22:18:50 +0000 (22:18 +0000)]
Added further tests for test_inn_to_gasthausbox_none.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2622 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoAdded further tests for inn_from_gasthausbox.
philipp [Sun, 29 Jan 2017 22:18:49 +0000 (22:18 +0000)]
Added further tests for inn_from_gasthausbox.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2621 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoImproved function template_from_str.
philipp [Sun, 29 Jan 2017 22:18:47 +0000 (22:18 +0000)]
Improved function template_from_str.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2620 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoRepaired function update_wrsledruncache.
philipp [Sun, 29 Jan 2017 22:18:46 +0000 (22:18 +0000)]
Repaired function update_wrsledruncache.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2619 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoAdded test_wrreportcache_table, test_wrregion_table, test_wrregioncache_table.
philipp [Sun, 29 Jan 2017 22:18:44 +0000 (22:18 +0000)]
Added test_wrreportcache_table, test_wrregion_table, test_wrregioncache_table.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2618 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoMade tests in test_wrmwdb more powerful.
philipp [Sun, 29 Jan 2017 13:01:25 +0000 (13:01 +0000)]
Made tests in test_wrmwdb more powerful.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2617 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoReplaced direct assert with assertEqual in TestMySqlPython.
philipp [Sun, 29 Jan 2017 13:01:23 +0000 (13:01 +0000)]
Replaced direct assert with assertEqual in TestMySqlPython.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2616 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoMerged test_mysqlpython.py with test_mwdb.py.
philipp [Sun, 29 Jan 2017 13:01:21 +0000 (13:01 +0000)]
Merged test_mysqlpython.py with test_mwdb.py.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2615 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoMerged test_sqlalchemy.py with test_mwdb.py.
philipp [Sun, 29 Jan 2017 13:01:20 +0000 (13:01 +0000)]
Merged test_sqlalchemy.py with test_mwdb.py.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2614 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoOmitting _table suffix for tests in wrpylib.mwdb.
philipp [Sun, 29 Jan 2017 13:01:18 +0000 (13:01 +0000)]
Omitting _table suffix for tests in wrpylib.mwdb.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2613 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoNow using metadata from setUp method in all tests for wrpylib.mwdb.
philipp [Sun, 29 Jan 2017 13:01:16 +0000 (13:01 +0000)]
Now using metadata from setUp method in all tests for wrpylib.mwdb.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2612 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoAdded test for table user in wrpylib.mwdb.
philipp [Sun, 29 Jan 2017 13:01:15 +0000 (13:01 +0000)]
Added test for table user in wrpylib.mwdb.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2611 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoImproved existing tests for wrpylib.mwdb.
philipp [Sun, 29 Jan 2017 13:01:13 +0000 (13:01 +0000)]
Improved existing tests for wrpylib.mwdb.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2610 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoRemoved tests for functions that are not used anymore.
philipp [Fri, 27 Jan 2017 22:04:04 +0000 (22:04 +0000)]
Removed tests for functions that are not used anymore.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2609 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoWorked on inn_to_gasthausbox - the test passes now.
philipp [Fri, 27 Jan 2017 22:04:02 +0000 (22:04 +0000)]
Worked on inn_to_gasthausbox - the test passes now.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2608 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoImplemented TestInn.test_inn_to_gasthausbox.
philipp [Fri, 27 Jan 2017 22:04:00 +0000 (22:04 +0000)]
Implemented TestInn.test_inn_to_gasthausbox.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2607 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoFixed Rauchfrei in inn_to_gasthausbox.
philipp [Fri, 27 Jan 2017 22:03:59 +0000 (22:03 +0000)]
Fixed Rauchfrei in inn_to_gasthausbox.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2606 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoWorked on inn_from_gasthausbox - the test passes now.
philipp [Fri, 27 Jan 2017 22:03:57 +0000 (22:03 +0000)]
Worked on inn_from_gasthausbox - the test passes now.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2605 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoImproved wikipage_from_str: Now it does not accept '[' or ']' in article titles.
philipp [Fri, 27 Jan 2017 22:03:55 +0000 (22:03 +0000)]
Improved wikipage_from_str: Now it does not accept '[' or ']' in article titles.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2604 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoAdded more test cases to TestWikipage.test_from_str (one of them doesn't pass yet).
philipp [Fri, 27 Jan 2017 22:03:53 +0000 (22:03 +0000)]
Added more test cases to TestWikipage.test_from_str (one of them doesn't pass yet).

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2603 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoAdded more tests to TestOptWikipageEnum.test_from_str (one of them doesn't pass yet).
philipp [Fri, 27 Jan 2017 22:03:51 +0000 (22:03 +0000)]
Added more tests to TestOptWikipageEnum.test_from_str (one of them doesn't pass yet).

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2602 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoFixed typo in docstring of opt_tristate_german_comment_from_str.
philipp [Fri, 27 Jan 2017 22:03:50 +0000 (22:03 +0000)]
Fixed typo in docstring of opt_tristate_german_comment_from_str.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2601 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoRemoved "from wrpylib.wrmwmarkup import *" in test_wrmwmarkup.py
philipp [Fri, 27 Jan 2017 22:03:48 +0000 (22:03 +0000)]
Removed "from wrpylib.wrmwmarkup import *" in test_wrmwmarkup.py

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2600 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoImplemented TestInn.test_inn_from_gasthausbox.
philipp [Fri, 27 Jan 2017 22:03:46 +0000 (22:03 +0000)]
Implemented TestInn.test_inn_from_gasthausbox.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2599 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoChanged file encoding for setup.py to UTF-8.
philipp [Fri, 27 Jan 2017 22:03:44 +0000 (22:03 +0000)]
Changed file encoding for setup.py to UTF-8.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2598 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoReplaced double with triple quotes in docstring.
philipp [Fri, 27 Jan 2017 22:03:43 +0000 (22:03 +0000)]
Replaced double with triple quotes in docstring.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2597 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoFixed typo in docstring.
philipp [Fri, 27 Jan 2017 22:03:41 +0000 (22:03 +0000)]
Fixed typo in docstring.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2596 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoAdded further test in TestUrl.test_from_str.
philipp [Fri, 27 Jan 2017 22:03:39 +0000 (22:03 +0000)]
Added further test in TestUrl.test_from_str.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2595 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoFixed typos in test titles.
philipp [Fri, 27 Jan 2017 22:03:37 +0000 (22:03 +0000)]
Fixed typos in test titles.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2594 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoConverted encoding to UTF-8.
philipp [Tue, 24 Jan 2017 22:22:26 +0000 (22:22 +0000)]
Converted encoding to UTF-8.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2592 7aebc617-e5e2-0310-91dc-80fb5f6d2477

4 years agoRemoved unnecessary lines.
philipp [Tue, 24 Jan 2017 22:22:22 +0000 (22:22 +0000)]
Removed unnecessary lines.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2591 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoUpdated schema for MediaWiki 1.27.
philipp [Thu, 20 Oct 2016 20:26:56 +0000 (20:26 +0000)]
Updated schema for MediaWiki 1.27.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2511 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRemoved unused variable.
philipp [Thu, 20 Oct 2016 20:26:55 +0000 (20:26 +0000)]
Removed unused variable.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2510 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRemoved unnecessary whitespace.
philipp [Thu, 20 Oct 2016 20:26:53 +0000 (20:26 +0000)]
Removed unnecessary whitespace.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2509 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRemoved unnecessary whitespace.
philipp [Thu, 20 Oct 2016 20:26:51 +0000 (20:26 +0000)]
Removed unnecessary whitespace.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2508 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRemoved unused imported types module.
philipp [Thu, 20 Oct 2016 20:26:49 +0000 (20:26 +0000)]
Removed unused imported types module.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2507 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoFixed sledrun_from_rodelbahnbox and sledrun_to_rodelbahnbox.
philipp [Tue, 11 Oct 2016 20:35:44 +0000 (20:35 +0000)]
Fixed sledrun_from_rodelbahnbox and sledrun_to_rodelbahnbox.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2501 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoImplemened tets for sledrun_to_rodelbahnbox and sledrun_from_rodelbahnbox.
philipp [Tue, 11 Oct 2016 20:35:42 +0000 (20:35 +0000)]
Implemened tets for sledrun_to_rodelbahnbox and sledrun_from_rodelbahnbox.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2500 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoFixed two issues in wrvalidators module - now all tests pass for that module.
philipp [Tue, 11 Oct 2016 19:37:32 +0000 (19:37 +0000)]
Fixed two issues in wrvalidators module - now all tests pass for that module.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2499 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoAdded further tests for wrvalidators module.
philipp [Tue, 11 Oct 2016 19:37:30 +0000 (19:37 +0000)]
Added further tests for wrvalidators module.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2498 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoAdded URL for package mwparserfromhell.
philipp [Tue, 11 Oct 2016 19:37:28 +0000 (19:37 +0000)]
Added URL for package mwparserfromhell.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2497 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoAdded test for db_key_to_title.
philipp [Tue, 11 Oct 2016 19:37:26 +0000 (19:37 +0000)]
Added test for db_key_to_title.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2496 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRenamed to_title to dbkay_to_title and improved docstring.
philipp [Tue, 11 Oct 2016 19:37:23 +0000 (19:37 +0000)]
Renamed to_title to dbkay_to_title and improved docstring.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2495 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoStarted updating functions and tests in wrmwmarkup.
philipp [Tue, 2 Feb 2016 21:10:52 +0000 (21:10 +0000)]
Started updating functions and tests in wrmwmarkup.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2459 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoOmitted parameter "name" in some functions.
philipp [Tue, 2 Feb 2016 21:10:48 +0000 (21:10 +0000)]
Omitted parameter "name" in some functions.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2458 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoAdded function format_template_oneline.
philipp [Tue, 2 Feb 2016 21:10:44 +0000 (21:10 +0000)]
Added function format_template_oneline.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2457 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRenamed template_to_table to format_template_table.
philipp [Tue, 2 Feb 2016 21:10:39 +0000 (21:10 +0000)]
Renamed template_to_table to format_template_table.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2456 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoFixed test_template_to_table.
philipp [Tue, 2 Feb 2016 21:10:35 +0000 (21:10 +0000)]
Fixed test_template_to_table.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2455 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRemoved unused test classes.
philipp [Tue, 2 Feb 2016 21:10:31 +0000 (21:10 +0000)]
Removed unused test classes.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2454 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoConverted encoding from ISO8859-15 to UTF-8.
philipp [Tue, 2 Feb 2016 21:10:26 +0000 (21:10 +0000)]
Converted encoding from ISO8859-15 to UTF-8.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2453 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoChanged the implementation of value_comment_from_str so that masked emails also work...
philipp [Tue, 2 Feb 2016 21:10:21 +0000 (21:10 +0000)]
Changed the implementation of value_comment_from_str so that masked emails also work as values.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2452 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoAdded pulbic transport test.
philipp [Tue, 2 Feb 2016 21:10:16 +0000 (21:10 +0000)]
Added pulbic transport test.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2451 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoAdded avalanches tests.
philipp [Tue, 2 Feb 2016 21:10:12 +0000 (21:10 +0000)]
Added avalanches tests.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2450 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoFixed TestChoice: test_ was missing before the from_str test function.
philipp [Tue, 2 Feb 2016 21:10:08 +0000 (21:10 +0000)]
Fixed TestChoice: test_ was missing before the from_str test function.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2449 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoImplemented test for bool_germen_from/to_german.
philipp [Tue, 2 Feb 2016 21:10:05 +0000 (21:10 +0000)]
Implemented test for bool_germen_from/to_german.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2448 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoImplemented some missing test cases.
philipp [Tue, 2 Feb 2016 21:10:02 +0000 (21:10 +0000)]
Implemented some missing test cases.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2447 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoImplemented Gasthausbox converter and test.
philipp [Tue, 2 Feb 2016 21:09:59 +0000 (21:09 +0000)]
Implemented Gasthausbox converter and test.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2446 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoFixed tests that failed because of missing parameters.
philipp [Tue, 2 Feb 2016 21:09:55 +0000 (21:09 +0000)]
Fixed tests that failed because of missing parameters.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2445 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRe-enabled test that failed for masked email addresses.
philipp [Tue, 2 Feb 2016 21:09:52 +0000 (21:09 +0000)]
Re-enabled test that failed for masked email addresses.

Signed-off-by: Philipp Spitzer <philipp@spitzer.priv.at>
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2444 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoMoved the expected value to first position in assertions because that's how PyCharm...
philipp [Tue, 2 Feb 2016 21:09:49 +0000 (21:09 +0000)]
Moved the expected value to first position in assertions because that's how PyCharm treats them that way.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2443 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoReorder tests.
philipp [Tue, 2 Feb 2016 21:09:47 +0000 (21:09 +0000)]
Reorder tests.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2442 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoIncreased version number to 0.6.0.
philipp [Tue, 2 Feb 2016 21:09:44 +0000 (21:09 +0000)]
Increased version number to 0.6.0.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2441 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRemoved formencode and added mwparserfromhell to requirements.
philipp [Tue, 2 Feb 2016 21:09:39 +0000 (21:09 +0000)]
Removed formencode and added mwparserfromhell to requirements.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2440 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoReordered functions.
philipp [Tue, 2 Feb 2016 21:09:35 +0000 (21:09 +0000)]
Reordered functions.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2439 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoImplemented wikipage converter.
philipp [Tue, 2 Feb 2016 21:09:30 +0000 (21:09 +0000)]
Implemented wikipage converter.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2438 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoIntroduced opt_uint_converter converter and implemented no_or_str_converter.
philipp [Tue, 2 Feb 2016 21:09:27 +0000 (21:09 +0000)]
Introduced opt_uint_converter converter and implemented no_or_str_converter.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2437 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoImplemented emails converter.
philipp [Tue, 2 Feb 2016 21:09:24 +0000 (21:09 +0000)]
Implemented emails converter.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2436 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRemoved unused TestConverter.
philipp [Tue, 2 Feb 2016 21:09:21 +0000 (21:09 +0000)]
Removed unused TestConverter.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2435 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoImplemented masked_email.
philipp [Tue, 2 Feb 2016 21:09:18 +0000 (21:09 +0000)]
Implemented masked_email.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2434 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRemove print from TestEmail.
philipp [Tue, 2 Feb 2016 21:09:13 +0000 (21:09 +0000)]
Remove print from TestEmail.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2433 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoFixup for "Removed unused converters".
philipp [Tue, 2 Feb 2016 21:09:09 +0000 (21:09 +0000)]
Fixup for "Removed unused converters".

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2432 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoFixup for E-Mail converter.
philipp [Tue, 2 Feb 2016 21:09:04 +0000 (21:09 +0000)]
Fixup for E-Mail converter.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2431 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoRemoved unused converters.
philipp [Tue, 2 Feb 2016 21:09:01 +0000 (21:09 +0000)]
Removed unused converters.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2430 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoImplemented E-Mail converter.
philipp [Tue, 2 Feb 2016 21:08:59 +0000 (21:08 +0000)]
Implemented E-Mail converter.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2429 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoIntermediate commit
philipp [Tue, 2 Feb 2016 21:08:54 +0000 (21:08 +0000)]
Intermediate commit

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2428 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoupdate_wrsledruncache now also updates the new name_url field.
philipp [Tue, 2 Feb 2016 21:08:38 +0000 (21:08 +0000)]
update_wrsledruncache now also updates the new name_url field.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2427 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoCreated function to translate between sledrun title names and urls.
philipp [Tue, 2 Feb 2016 21:08:32 +0000 (21:08 +0000)]
Created function to translate between sledrun title names and urls.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2426 7aebc617-e5e2-0310-91dc-80fb5f6d2477

5 years agoAdded new field name_url to the model.
philipp [Tue, 2 Feb 2016 21:08:26 +0000 (21:08 +0000)]
Added new field name_url to the model.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2425 7aebc617-e5e2-0310-91dc-80fb5f6d2477

6 years agoUsed set literal instead of converting a list to a set.
philipp [Sat, 23 May 2015 21:12:45 +0000 (21:12 +0000)]
Used set literal instead of converting a list to a set.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2268 7aebc617-e5e2-0310-91dc-80fb5f6d2477

6 years agoReplaced shebang line from python2.7 to python3.4.
philipp [Sat, 23 May 2015 21:12:40 +0000 (21:12 +0000)]
Replaced shebang line from python2.7 to python3.4.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2267 7aebc617-e5e2-0310-91dc-80fb5f6d2477

6 years agoModifications done by "2to3-3.4 -w -n".
philipp [Sat, 23 May 2015 21:12:33 +0000 (21:12 +0000)]
Modifications done by "2to3-3.4 -w -n".

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2266 7aebc617-e5e2-0310-91dc-80fb5f6d2477

6 years agoFixed typo in docstring.
philipp [Sat, 23 May 2015 21:12:28 +0000 (21:12 +0000)]
Fixed typo in docstring.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2265 7aebc617-e5e2-0310-91dc-80fb5f6d2477

6 years agoFixed error in GastausboxDictConverter.to_python when the state already had an inn.
philipp [Sat, 23 May 2015 21:12:25 +0000 (21:12 +0000)]
Fixed error in GastausboxDictConverter.to_python when the state already had an inn.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2264 7aebc617-e5e2-0310-91dc-80fb5f6d2477

6 years agoFixed unresolved usage of formencode.Invalid (one time with typo).
philipp [Sat, 23 May 2015 21:12:23 +0000 (21:12 +0000)]
Fixed unresolved usage of formencode.Invalid (one time with typo).

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2263 7aebc617-e5e2-0310-91dc-80fb5f6d2477

6 years agoFixed typo.
philipp [Sat, 23 May 2015 21:12:20 +0000 (21:12 +0000)]
Fixed typo.

git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@2262 7aebc617-e5e2-0310-91dc-80fb5f6d2477