def make_iprofiledblockdeviceapi_tests(profiled_blockdevice_api_factory, dataset_size):
 class Tests(IProfiledBlockDeviceAPITestsMixin, TestCase, ):
  def setUp(self):
   super(Tests, self).setUp()
   self.api = profiled_blockdevice_api_factory(self)
   self.dataset_size = dataset_size
 return Tests

def make_iprofiledblockdeviceapi_tests ( profiled_blockdevice_api_factory , dataset_size ) : class Tests ( IProfiledBlockDeviceAPITestsMixin , TestCase , ) : def setUp ( self ) : super ( Tests , self ) . setUp ( ) self . api = profiled_blockdevice_api_factory ( self ) self . dataset_size = dataset_size return Tests
create tests for classes that implement iprofiledblockdeviceapi .