From 0a9e726054ee99e6f150de3b6f0ac5d57084e64a Mon Sep 17 00:00:00 2001
From: Kalibh Halford <kalibh.halford@stfc.ac.uk>
Date: Thu, 28 Nov 2024 10:54:36 +0000
Subject: [PATCH] STY: disable duplicate code warning

No need to reuse this code as it only occurs twice
---
 cloud-chatops/tests/test_find_prs.py     |  3 +++
 cloud-chatops/tests/test_pr_dataclass.py | 20 +++++++++++---------
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/cloud-chatops/tests/test_find_prs.py b/cloud-chatops/tests/test_find_prs.py
index a5122d5..a80b41e 100644
--- a/cloud-chatops/tests/test_find_prs.py
+++ b/cloud-chatops/tests/test_find_prs.py
@@ -8,6 +8,9 @@
 from pr_dataclass import PR
 
 
+# pylint: disable=R0801
+
+
 @pytest.fixture(name="instance", scope="function")
 def instance_fixture():
     """Creates a class fixture to use in the tests"""
diff --git a/cloud-chatops/tests/test_pr_dataclass.py b/cloud-chatops/tests/test_pr_dataclass.py
index fee5703..4033e11 100644
--- a/cloud-chatops/tests/test_pr_dataclass.py
+++ b/cloud-chatops/tests/test_pr_dataclass.py
@@ -15,15 +15,17 @@
 }
 
 MOCK_PR = PR(
-    title="mock_title #1",
-    author="mock_author",
-    url="https://api.github.com/repos/mock_owner/mock_repo/pulls",
-    stale=False,
-    draft=False,
-    labels=["mock_label"],
-    repository="mock_repo",
-    created_at=datetime.strptime("2024-11-15T07:33:56Z", "%Y-%m-%dT%H:%M:%SZ"),
-)
+        title="mock_title #1",
+        author="mock_author",
+        url="https://api.github.com/repos/mock_owner/mock_repo/pulls",
+        stale=False,
+        draft=False,
+        labels=["mock_label"],
+        repository="mock_repo",
+        created_at=datetime.strptime("2024-11-15T07:33:56Z", "%Y-%m-%dT%H:%M:%SZ"),
+    )
+
+# pylint: disable=R0801
 
 
 def test_is_stale_false():