def METHOD_NAME(self):
    file_to_replace, path_parts = helpers.create_test_file(
        self,
        self.test_file_one,
    )
    files.overwrite_file(
        self.test_file_two,
        file_to_replace,
        path_parts=path_parts,
    )
    file_path = os.path.join(
        settings.BASE_DIR,
        'files',
        'articles',
        self.pk_string,
        file_to_replace.uuid_filename,
    )
    with open(file_path, 'rb') as file:
        content = file.read()
        self.assertEqual(content, b'content')