Skip to content

Instantly share code, notes, and snippets.

@xen
Created December 26, 2013 03:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xen/8129377 to your computer and use it in GitHub Desktop.
Save xen/8129377 to your computer and use it in GitHub Desktop.
def test_metadata_family(self):
""" Font and METADATA.json have the same name """
self.assertEqual(self.font.familyname, self.metadata.get('name', None))
def test_em_is_1000(self):
""" Font em should be equal 1000 """
self.assertEqual(self.font.em, 1000,
msg="Font em value is %s, required 1000" % self.font.em)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment