Johannes Raggam
c8acc47984
rename former doctests to test_unit_MODULENAME
2013-03-20 14:08:16 +01:00
Robert Niederreiter
5d89c57d90
merged
2013-03-20 14:07:49 +01:00
Robert Niederreiter
5db142451e
remove test_doctests, duplicate, comment test and referring code
2013-03-20 14:04:56 +01:00
Johannes Raggam
de5ac3eccf
one more todo
2013-03-20 14:02:45 +01:00
Johannes Raggam
426c05972a
fix test, where a vText property is decoded to a vText property. currently the decoded method calls the properties from_ical, and when parsing from an ical string, we want to encode the string into a real icalendar.prop property. the decoding could be changed in future to be decoded into python natives only - if feel we would need this.
2013-03-20 14:00:13 +01:00
Victor Varvaryuk
25bdd403f1
Merge branch 'master' of git://github.com/collective/icalendar
...
Conflicts:
src/icalendar/prop.py
2013-03-20 16:56:31 +04:00
Johannes Raggam
a1f671b7b1
Merge branch 'master' of github.com:collective/icalendar
2013-03-20 13:53:41 +01:00
Victor Varvaryuk
e61b49ac44
Using DEFAULT_ENCODING instead of utf-8 in foldline function.
2013-03-20 16:50:53 +04:00
Robert Niederreiter
e4d9b7de4e
Merge pull request #98 from warvariuc/master
...
Please comment
2013-03-20 05:50:27 -07:00
Johannes Raggam
f77d51880f
use classmethod instead of staticmethod, where the methods use the class as factory
2013-03-20 13:44:01 +01:00
Johannes Raggam
3aef43f035
Allow seconds in vUTCOffset properties. Fixes #55 .
2013-03-20 13:04:47 +01:00
Johannes Raggam
616fa68655
Let ``Component.decode`` correctly decode vRecur properties. Fixes #70 .
2013-03-20 11:35:42 +01:00
Johannes Raggam
845803a602
docstrings
2013-03-20 11:16:46 +01:00
Johannes Raggam
9d11844bb0
formating
2013-03-20 10:52:04 +01:00
Johannes Raggam
4681ccfab7
move all tests from issues.rst to test_fixed_issues.py. remove docmods from test_doctests, since we dont have any more
2013-03-20 10:49:56 +01:00
Johannes Raggam
71da2fa8ea
Don't let Component.add re-encode already encoded values. This simplifies
...
the API, since there is no need explicitly pass encode=False. Fixes #82 .
2013-03-20 10:20:27 +01:00
Victor Varvaryuk
89a74cc3ba
Optimized line folding algorithm. foldline function now expects only unicode.
...
Now not accepting unsecaped new line characters in a content line.
When folding line - preserving space at the end, if present.
Modified the tests accordingly.
2013-03-20 12:49:57 +04:00
Johannes Raggam
2f53d1f180
merge with master;
2013-03-19 14:25:45 +01:00
Victor Varvaryuk
198654fbc6
Added myself to the contributer list
2013-03-19 16:12:01 +04:00
Victor Varvaryuk
aa70f7253f
Merge branch 'master' of git://github.com/collective/icalendar
2013-03-19 16:11:38 +04:00
Johannes Raggam
1c097510d5
formatings
2013-03-19 12:43:46 +01:00
Johannes Raggam
ae97335ceb
avoid circular imports and create parser_tools, which doesnt import anything from icalendar. fix __repr__ to output no unicode but encoded strings, even with dict or list/tuple items. as a sideeffect, change the signature of __repr__ to not output the subcomponents classes.
2013-03-19 12:40:34 +01:00
Johannes Raggam
412c853516
avoid recursion error
2013-03-19 11:11:42 +01:00
Johannes Raggam
58c93b9f91
use unittest2 all over, import centrally
2013-03-19 11:05:13 +01:00
Johannes Raggam
8af9ff64a4
merge with warvuriac/unicode
2013-03-19 10:31:44 +01:00
Victor Varvaryuk
104387cc4a
CaselessDict keys are now automatically converted to unicode.
...
Test fixes. Small refactoring and polishing.
2013-03-19 12:35:00 +04:00
Victor Varvaryuk
8200590705
Added % symbol to some tests
2013-03-19 10:37:33 +04:00
Johannes Raggam
f331f69715
note
2013-03-18 23:31:10 +01:00
Johannes Raggam
f44a20b1d9
test output for issuee #80 . FIXES #80
2013-03-18 23:25:05 +01:00
Johannes Raggam
e05916db16
convert from encoded back to unicode, for internal use. FIXES #80
2013-03-18 23:22:03 +01:00
Johannes Raggam
2d8638f642
Switch to unicode internally.
2013-03-18 20:53:00 +01:00
Johannes Raggam
b79db87fa9
safe_unicode from Products.CMFPlone.utils
2013-03-18 15:04:42 +01:00
Johannes Raggam
c094391bdb
default_encoding and sequencetypes as const in __init__
2013-03-18 14:54:27 +01:00
Johannes Raggam
fdd6aa023e
+roadmap
2013-03-18 14:15:53 +01:00
Johannes Raggam
226da3d890
update readme
2013-03-18 13:16:27 +01:00
Johannes Raggam
79b8a765fe
doctests to unittests
2013-03-18 13:11:53 +01:00
Johannes Raggam
c3cce3e7eb
doctests to unittests
2013-03-18 12:51:51 +01:00
Johannes Raggam
5920e032fa
doctests to unittests
2013-03-18 12:44:09 +01:00
Johannes Raggam
c69040d041
doctests to unittests
2013-03-18 12:38:32 +01:00
Johannes Raggam
134cea70d3
doctests to unittests
2013-03-18 12:33:43 +01:00
Johannes Raggam
a2e198a836
doctests to unittests
2013-03-18 12:30:11 +01:00
Johannes Raggam
ece58627fc
doctests to unittests
2013-03-18 11:45:54 +01:00
Johannes Raggam
3f93090c81
doctests to unittests
2013-03-18 11:40:14 +01:00
Johannes Raggam
a1e31de6f1
doctests to unittests
2013-03-18 11:34:36 +01:00
Johannes Raggam
6162f64f46
doctests to unittests
2013-03-18 11:34:27 +01:00
Johannes Raggam
b3374758ee
restore py26 comapt
2013-03-18 11:26:53 +01:00
Robert Niederreiter
e9755a20e9
Merge pull request #95 from warvariuc/master
...
Code polishing
2013-03-18 00:48:59 -07:00
Victor Varvaryuk
83de765e9c
Tests polishing: using self.assertEqual(val1, val2) instead of self.assertTrue(val1 == val2)
2013-03-18 11:40:16 +04:00
Victor Varvaryuk
e8c88c1405
types.ListType and types.TupleType are aliases of the the built-in list and tuple.
...
Removed a forgotten pdb line.
2013-03-18 11:06:52 +04:00
Johannes Raggam
99cdf7da01
changelog
2013-03-18 02:24:53 +01:00