def setUp(self): ca.create_code_element_kinds() self.kinds = ca.get_default_kind_dict() self.strategies = ca.get_java_strategies()
def __init__(self, channel_pk, parse_refs, lock): self.lock = lock self.channel = SupportChannel.objects.get(pk=channel_pk) self.parse_refs = parse_refs self.kinds = get_default_kind_dict() self.kind_strategies = get_java_strategies()
def __init__(self, document_pk): self.document = Document.objects.get(pk=document_pk) self.kinds = get_default_kind_dict() self.kind_strategies = get_java_strategies()