diff options
author | Guido Guenther <agx@sigxcpu.org> | 2006-09-23 23:25:37 +0200 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2006-09-23 23:25:37 +0200 |
commit | 83cca3541c1171102bcda16aa5aab732f5a9097f (patch) | |
tree | 8482a7de9a4c9daa636796d9e9f2638aa13e88d9 /tests | |
parent | 0f963fa4c3d05e0f8b297aeb20aa5d719f7ab31d (diff) |
Imported python-vobject-0.0.svn155
into Git repository
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests.py b/tests/tests.py index 16ef0c2..9432cd9 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -274,7 +274,7 @@ END:VTIMEZONE __test__ = { "Test readOne" :
r"""
- >>> silly = base.readOne(testSilly)
+ >>> silly = base.readOne(testSilly, findBegin=False)
>>> silly
<SILLYPROFILE| [<MORESTUFF{}this line is not folded, but in practice probably ought to be, as it is exceptionally long, and moreover demonstratively stupid>, <SILLYNAME{}name>, <STUFF{}foldedline>]>
>>> silly.stuff
@@ -285,7 +285,7 @@ __test__ = { "Test readOne" : >>> silly2.serialize()==original
True
>>> s3 = StringIO.StringIO('cn:Babs Jensen\r\ncn:Barbara J Jensen\r\nsn:Jensen\r\nemail:babs@umich.edu\r\nphone:+1 313 747-4454\r\nx-id:1234567890\r\n')
- >>> ex1 = base.readOne(s3)
+ >>> ex1 = base.readOne(s3, findBegin=False)
>>> ex1
<*unnamed*| [<CN{}Babs Jensen>, <CN{}Barbara J Jensen>, <EMAIL{}babs@umich.edu>, <PHONE{}+1 313 747-4454>, <SN{}Jensen>, <X-ID{}1234567890>]>
>>> ex1.serialize()
|