def test_factory(support_as_data=True):
 if support_as_data:
  return DataModelTester_SupportAsDataMixin
 else:
  return DataModelTester_NotSupportAsDataMixin

def test_factory ( support_as_data = True ) : if support_as_data : return DataModelTester_SupportAsDataMixin else : return DataModelTester_NotSupportAsDataMixin
a helper for returning a unittest testcase for testing .