Permalink
Browse files

extra unit test

  • Loading branch information...
1 parent 077e730 commit 48de5c5b264f9bf2730716e60452cbd72892a326 @guidocalvano committed Feb 11, 2011
Showing with 11 additions and 11 deletions.
  1. +11 −11 vcard/tests.py
View
@@ -107,17 +107,17 @@ def test_all_properties_imported_and_exported( self ):
self.assertEqual(all.honorific_prefix, "honorific_prefix" )
self.assertEqual(all.honorific_suffix, "honorific_suffix" )
- """
- adr = all.adr_set.all()[ 0 ]
-
- self.assertEqual( adr.post_office_box, "post_office_box" )
- self.assertEqual( adr.extended_address, "extended_address" )
- self.assertEqual( adr.street_address, "street_address" )
- self.assertEqual( adr.locality, "locality" )
- self.assertEqual( adr.region, "region" )
- self.assertEqual( adr.postal_code, "postal_code" )
- self.assertEqual( adr.type, "WORK" )
- """
+
+ ad = all.adr_set.all()[0]
+
+ self.assertEqual( ad.post_office_box, "post_office_box" )
+ self.assertEqual( ad.extended_address, "extended_address" )
+ self.assertEqual( ad.street_address, "street_address" )
+ self.assertEqual( ad.locality, "locality" )
+ self.assertEqual( ad.region, "region" )
+ self.assertEqual( ad.postal_code, "postal_code" )
+ self.assertEqual( ad.type, "WORK" )
+
self.assertEqual( all.agent_set.all()[ 0 ].data, "agent" )

0 comments on commit 48de5c5

Please sign in to comment.