def test_returns_config(self): distributor, config = entry_point() # make sure it's at least the correct type self.assertTrue(isinstance(config, dict))
def test_returns_importer(self): distributor, config = entry_point() self.assertTrue(issubclass(distributor, Distributor))