Wykres commitów

539 Commity (b29d6876917b2d654eda3514ecb665de3e034199)

Autor SHA1 Wiadomość Data
Johannes Raggam b29d687691 test for #112. looks like, this one has been fixed at some point. fixes #112 2014-01-06 16:11:47 +01:00
Johannes Raggam 6e22f336da rename test ics files to new naming convention: issue_ISSUENUMBER_SHORTISSUEDESC.ics 2014-01-06 15:14:29 +01:00
Johannes Raggam 659b6cc4d9 typo 2014-01-06 15:05:34 +01:00
Johannes Raggam 7a867e91bf more docstrings 2013-12-28 14:14:01 +01:00
Johannes Raggam 6e82eb38f3 interfaces.py doesnt exist anymore 2013-12-28 14:11:20 +01:00
Johannes Raggam 1c309a50f5 typo 2013-12-26 20:46:50 +01:00
Johannes Raggam b0f109f3b9 Support adding lists to a component property, which value already was a list
and remove the Component.set method, which was only be used by add method.
2013-12-26 18:42:13 +01:00
Johannes Raggam cf533d22bd roundtrip test for property parameter adding 2013-12-26 09:59:12 +01:00
Johannes Raggam 94e20287a4 add how to add property parameters documentation 2013-12-26 09:41:53 +01:00
Johannes Raggam 82acd96524 Remove ability to add property parameters via a value's params attribute when
adding via cal.add (that was only possible for custom value objects and makes
  up a strange API), but support a parameter attribute on cal.add's method
  signature to pass a dictionary with property parameter key/value pairs.
  Fixes #116.
2013-12-26 09:27:59 +01:00
Johannes Raggam 4551ea8180 add missing test case ics file 2013-12-26 00:21:06 +01:00
Johannes Raggam 1c366d7c52 backport some of regebros modern python idiom changes from his regebro-refactor branch 2013-12-25 21:48:00 +01:00
Johannes Raggam 0c05b7daab Raise explicit error on another malformed content line case. fixes #115, fixes #114 2013-12-25 20:47:08 +01:00
Johannes Raggam a2600b467f Merge remote-tracking branch 'hajdbo/patch-1' 2013-12-25 01:34:11 +01:00
Johannes Raggam c1ea2c009e update coverage report, exclude test paths in compat module 2013-12-24 13:30:59 +01:00
Johannes Raggam db30fc0d4d fix tox coverage configuration to also run python 3 tests by not using unit2 script 2013-12-24 13:26:13 +01:00
Johannes Raggam 2e0ff7d912 conditionally install unittest2 only for python 2.6 2013-12-24 13:25:46 +01:00
Johannes Raggam e6a9903013 dont get dependencies from pypi downloaded icalendar egg but just use unittest2. more py3 configuration - tests still not run! 2013-12-24 13:06:03 +01:00
Johannes Raggam 08babba931 format imports according to https://github.com/plone/plone.api/blob/master/docs/contribute/conventions.rst 2013-12-24 01:44:53 +01:00
Johannes Raggam a08849e099 remove unused tests, move examples.rst to docs/usage.rst, pep8 everything 2013-12-24 01:29:05 +01:00
Johannes Raggam 6ded747631 bump version to 4.0 2013-12-23 15:53:04 +01:00
hajdbo b0002373b5 Malformed VEVENT line breaks the parser
See issue 114
2013-11-07 22:19:43 +01:00
Christian Geier 40bcdf6eff migrated most remaining doctests to unittests
left example.rst for merging with docs
these new tests are NOT working under python3.3 just yet
2013-10-31 00:53:03 +01:00
Christian Geier 328e3cd33d updated tox file for python 3.3 2013-10-29 18:43:46 +01:00
Christian Geier 8be6398133 abstracted dict.items() and iteritems()
took that line from werkzeug's compat file
2013-10-29 18:40:59 +01:00
Christian Geier 110fc95f05 added Stefan and me to credits.rst
the python 3 porting was started by Stefan and myself at PyCon DE 2013
as part of the "port to python 3" sprint and continued by me later.
2013-10-27 15:33:04 +01:00
Christian Geier 4eb75a5b41 added python3 support to CHANGES.rst 2013-10-27 15:32:44 +01:00
Christian Geier 84493ac5b5 removed some forgotten debugging helpers 2013-10-27 15:09:41 +01:00
Christian Geier 2074ff051c made the last test 'work' 2013-10-25 01:19:05 +02:00
Christian Geier 03c2b6206d test_contentline_class: sort list before comparing
the lists' elements were not always in the same order in python3.3
2013-10-25 01:10:04 +02:00
Christian Geier 05408de656 got rid of enclosed 'b's in uids 2013-10-25 00:01:45 +02:00
Christian Geier 25e54f19bd more bytestrings
this time there was the need to change some tests from
	str(caselessdict) == CaselessDict"{u'foo': u'bar'}"
to
	assert isinstance(caselessdict, CaselessDict)
	caselessdict == {u'foo': u'bar'}

down to 2 and a half (one is wobbly) failed tests in python3.3
2013-10-24 02:43:37 +02:00
Christian Geier 11c8e9d72d fixed the base64 incompat. 2013-10-24 02:39:05 +02:00
Christian Geier f1b1f9a1b2 used bytestrings where appropriate
again :-) hopefully I now got all the easy to fix errors
2013-10-22 00:35:37 +02:00
Christian Geier 5b131b1b63 added TODO for python3 2013-10-21 00:43:20 +02:00
Christian Geier 621cd87152 used bytestrings where appropriate
again
2013-10-20 23:59:46 +02:00
Christian Geier c91342de68 used bytestrings where appropriate
only in test_icalendar.py
don't yet know why one foldline test should raise an exception
2013-10-20 22:48:47 +02:00
Christian Geier fa22b7763e used bytestrings where appropriate
needed to introduce a unicode version of FOLD called uFOLD
some internal cleanup seems to be needed, not everything uses unicode
just yet
2013-10-20 22:21:00 +02:00
Christian Geier c32987cf12 fixed some encoding problems
all tests in test_encoding pass now (28 passed)
2013-10-20 21:18:38 +02:00
Christian Geier f815493707 used bytestrings where appropriate
27 tests passed now
2013-10-20 20:52:39 +02:00
Christian Geier 42b743a388 avoid b prefix in formatted strings 2013-10-19 10:59:24 +02:00
Christian Geier f438e6aeeb used bytestrings where appropriate 2013-10-18 19:50:04 +02:00
Christian Geier f45f6b3a6e use compatible strings in string containment tests 2013-10-18 19:30:38 +02:00
Christian Geier c93aa02432 use items instead of iteritems 2013-10-18 19:29:23 +02:00
Christian Geier 35f9d68e85 fixed some unicode incompatibilities 2013-10-18 18:35:46 +02:00
Christian Geier bdaad59e81 no more syntax errors under Python 3 2013-10-18 18:34:59 +02:00
cillianderoiste 64f32c96fb Bugfix: parts(), use unicode rather than a str for the exception message
exc can contain unicode characters which raises a UnicodeEncodeError
when formatting the string.
2013-10-07 16:41:26 +02:00
Johannes Raggam 00c969f846 commit message for #107. 2013-09-03 22:21:54 +02:00
Markus Unterwaditzer 0259e0d7c0 Tests. 2013-09-03 18:02:54 +02:00
Markus Unterwaditzer 0f2af70d62 Add more names that get converted to datetime 2013-08-29 17:50:41 +02:00