Beispiel #1
0
 def test_raise(self) -> None:
     # act & assert
     with self.assertRaises(TypeError):
         KnownImageCrawlers._test_inheritance(
             StandaloneLoadableImageCrawlerA)
Beispiel #2
0
 def test_success(self) -> None:
     # act
     KnownImageCrawlers._test_inheritance(LoadableImageCrawlerA)
     # assert
     self.assertTrue(True, 'no errors thrown')