Пример #1
0
 def test_should_ignore_not_a_list(self):
     fontcache = FontCache()
     self.assertEqual([], fontcache.get_backends())
Пример #2
0
 def test_should_return_list_of_installed_backends(self):
     fontcache = FontCache()
     self.assertIn(
         GoogleFontsBackend,
         [backend.__class__ for backend in fontcache.get_backends()])