def METHOD_NAME(self):
    count = XForm.objects.count()
    xls_file_path = os.path.join(
        self.this_directory, "fixtures", "transportation", "transportation.xlsx"
    )
    call_command("publish_xls", xls_file_path, self.user.username)
    self.assertEqual(XForm.objects.count(), count + 1)
    count = XForm.objects.count()
    xls_file_path = os.path.join(
        self.this_directory,
        "fixtures",
        "transportation",
        "transportation_updated.xlsx",
    )
    # call command without replace param
    with self.assertRaises(CommandError):
        call_command("publish_xls", xls_file_path, self.user.username)
    # now we call the command with the replace param
    call_command("publish_xls", xls_file_path, self.user.username, replace=True)
    # count should remain the same
    self.assertEqual(XForm.objects.count(), count)
    # check if the extra field has been added
    self.xform = XForm.objects.order_by("id").reverse()[0]
    is_updated_form = (
        len(
            [
                e.name
                for e in self.xform.survey_elements
                if e.name == "preferred_means"
            ]
        )
        > 0
    )
    self.assertTrue(is_updated_form)