[PATCH] parser: Trivial fix of test docstring

Stephen Finucane stephen at that.guru
Tue Jun 27 06:49:32 AEST 2017


Based on the 'References' and 'In-Reply-To' headers of the used mbox,
the docstring for the 'test_reply_nocover_noversion' test is incorrect.
Fix this.

Signed-off-by: Stephen Finucane <stephen at that.guru>
Cc: Daniel Axtens <dja at axtens.net>
---
 patchwork/tests/test_series.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/patchwork/tests/test_series.py b/patchwork/tests/test_series.py
index c1ede06..17a8c73 100644
--- a/patchwork/tests/test_series.py
+++ b/patchwork/tests/test_series.py
@@ -483,11 +483,10 @@ class RevisedSeriesTest(_BaseTestCase):
 
         Input:
 
+          - [PATCH 1/2] test: Add some lorem ipsum
+            - [PATCH 2/2] test: Convert to Markdown
             - [PATCH 1/2] test: Add some lorem ipsum
               - [PATCH 2/2] test: Convert to Markdown
-                - [PATCH 1/2] test: Add some lorem ipsum
-                  - [PATCH 2/2] test: Convert to Markdown
-
         """
         covers, patches, _ = self._parse_mbox(
             'bugs-nocover-noversion.mbox', [0, 4, 0])
-- 
2.9.4



More information about the Patchwork mailing list