

def setUp(self):
    self.document_type = DocumentType.objects.create(label=TEST_DOCUMENT_TYPE)
    with open(TEST_SMALL_DOCUMENT_PATH) as file_object:
        self.document = self.document_type.new_document(file_object=File(self))

dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/tags/tests/test_models.py TagTestCase.setUp/VarMisuse@49/68 `file_object`->`self`