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