Skip to content

Commit 8f04fe1

Browse files
[IMP] project_operating_unit: pre-commit auto fixes
1 parent da1f080 commit 8f04fe1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

project_operating_unit/tests/test_project_operating_unit.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def test_project(self):
9292
self.assertEqual(
9393
projects.ids,
9494
[],
95-
"User 2 should not have access to " "%s" % self.main_OU.name,
95+
f"User 2 should not have access to {self.main_OU.name}",
9696
)
9797
self.assertEqual(self.project1.operating_unit_id.id, self.main_OU.id)
9898

@@ -103,7 +103,9 @@ def test_project_task(self):
103103
[("id", "=", self.task2.id), ("operating_unit_id", "=", self.main_OU.id)]
104104
)
105105
self.assertEqual(
106-
tasks.ids, [], "User 2 should not have access to " "%s" % self.main_OU.name
106+
tasks.ids,
107+
[],
108+
f"User 2 should not have access to {self.main_OU.name}",
107109
)
108110
self.assertEqual(
109111
self.task1.operating_unit_id.id, self.project1.operating_unit_id.id

0 commit comments

Comments
 (0)