]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Chore: fix test comments
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 9 Oct 2024 06:36:09 +0000 (23:36 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Wed, 9 Oct 2024 06:36:09 +0000 (23:36 -0700)
src/documents/tests/test_workflows.py

index c410f76a2c196ded4d73ea140a30541e86db42ac..c5d97595833eda3b221c11c28450c86405dc6ecf 100644 (file)
@@ -306,11 +306,11 @@ class TestWorkflows(DirectoriesMixin, FileSystemAssertsMixin, APITestCase):
     def test_workflow_match_multiple(self):
         """
         GIVEN:
-            - Multiple existing workflow
+            - Multiple existing workflows
         WHEN:
             - File that matches is consumed
         THEN:
-            - Template overrides are applied with subsequent templates overwriting previous values
+            - Workflow overrides are applied with subsequent workflows overwriting previous values
             or merging if multiple
         """
         trigger1 = WorkflowTrigger.objects.create(
@@ -373,12 +373,12 @@ class TestWorkflows(DirectoriesMixin, FileSystemAssertsMixin, APITestCase):
                     None,
                 )
                 document = Document.objects.first()
-                # template 1
+                # workflow 1
                 self.assertEqual(document.document_type, self.dt)
-                # template 2
+                # workflow 2
                 self.assertEqual(document.correspondent, self.c2)
                 self.assertEqual(document.storage_path, self.sp)
-                # template 1 & 2
+                # workflow 1 & 2
                 self.assertEqual(
                     list(document.tags.all()),
                     [self.t1, self.t2, self.t3],