Beispiel #1
0
 def __init__(self):
     """
     Assign a Serializer and Processer
     Serializers will be pluggable and allow for custom recording.
     Processers will process the serializations into test formats.
     """
     self.serializer = serializers.get_serializer(serializer_pref)()
     self.processor = processors.get_processor(processor_pref)()
Beispiel #2
0
 def __init__(self):
     """
     Assign a Serializer and Processer
     Serializers will be pluggable and allow for custom recording.
     Processers will process the serializations into test formats.
     """
     self.serializer = serializers.get_serializer(serializer_pref)()
     self.processor = processors.get_processor(processor_pref)()
 def __init__(self):
     """
     Assign a Serializer and Processer
     Serializers will be pluggable and allow for custom recording.
     Processers will process the serializations into test formats.
     """
     serializer_pref = getattr(settings, 'TESTMAKER_SERIALIZER', 'pickle')
     processor_pref = getattr(settings, 'TESTMAKER_PROCESSOR', 'django')
     self.serializer = serializers.get_serializer(serializer_pref)()
     self.processor = processors.get_processor(processor_pref)()
 def __init__(self):
     """
     Assign a Serializer and Processer
     Serializers will be pluggable and allow for custom recording.
     Processers will process the serializations into test formats.
     """
     serializer_pref = getattr(settings, "TESTMAKER_SERIALIZER", "pickle")
     processor_pref = getattr(settings, "TESTMAKER_PROCESSOR", "django")
     self.serializer = serializers.get_serializer(serializer_pref)()
     self.processor = processors.get_processor(processor_pref)()