test_hcard.py 295 B

12345678910111213
  1. """
  2. Barely scratching the surface.
  3. """
  4. from ostatus.hcard import hcard
  5. def test_hcard():
  6. info = hcard('cdent@tiddlyspace.com')
  7. assert info['url'] == 'http://cdent.tiddlyspace.com/'
  8. assert info['fn'] == 'cdent'
  9. assert info['photo'] == '/recipes/cdent_public/tiddlers/SiteIcon'