def test_load(self):
     """Test loading settings."""
     b = checkimages.checkImagesBot(self.get_site())
     rv = b.takesettings()
     item1 = rv[0]
     self.assertEqual(item1[0], 1)
     self.assertEqual(item1[1], 'a deprecated template')
Пример #2
0
 def test_load(self):
     """Test loading settings."""
     b = checkimages.checkImagesBot(self.get_site())
     rv = b.takesettings()
     item1 = rv[0]
     self.assertEqual(item1[0], 1)
     self.assertEqual(item1[1], 'a deprecated template')