def testMapperCanBeClassInstance(self): # should warn but not raise butler = dp.Butler(outputs={ 'root': self.testDir, 'mapper': dpTest.EmptyTestMapper() }) self.assertIsInstance(butler, dp.Butler)
def testMapperCanBeClassInstanceV1Api(self): # should warn but not raise butler = dp.Butler(root=self.testDir, mapper=dpTest.EmptyTestMapper())