[Calypso] How to run the tests?

Petter Reinholdtsen pere at hungry.com
Fri Jan 22 11:20:52 PST 2016


[Guido Günther]
> My copy/paste missed an 's':
>
>     python setup.py nosetests

Aha.  Thank you.  That got me going.

I am trying to verify the vCard content after import_file(), but no luck
so far.  Anyone know how to access one given vCard field for a civven
collection item?  I try variations over this theme, but guess there is
some easier way to do it:

  self.assertTrue(u"<ORG{}[u'Universitetet i Tromsø']>" == str(collection.items[0].object.org))

Anyone got clues to spare?

-- 
Happy hacking
Petter Reinholdtsen


More information about the Calypso mailing list