def METHOD_NAME(self):
    # simulate user clicking the 'Report bug' button in TE widget, TR page
    result = self.rpc_client.Bug.report(
        self.execution_1.pk, self.integration.bug_system.pk
    )
    self.assertEqual(result["rc"], 0)
    self.assertIn(self.integration.bug_system.base_url, result["response"])
    self.assertIn("/issues/", result["response"])
    new_issue_id = self.integration.bug_id_from_url(result["response"])
    repo_id = self.integration.repo_id
    repo = self.integration.rpc.get_repo(repo_id)
    issue = repo.get_issue(new_issue_id)
    self.assertEqual(f"Failed test: {self.execution_1.case.summary}", issue.title)
    for expected_string in [
        f"Filed from execution {self.execution_1.get_full_url()}",
        "Reporter",
        self.execution_1.run.plan.product.name,
        self.component.name,
        "Steps to reproduce",
        self.execution_1.case.text,
    ]:
        self.assertIn(expected_string, issue.body)
    # verify that LR has been added to TE
    self.assertTrue(
        LinkReference.objects.filter(
            execution=self.execution_1,
            url=result["response"],
            is_defect=True,
        ).exists()
    )
    # close issue after we're done
    issue.edit(state="closed")