diff mbox

parser: Trivial fix of test docstring

Message ID 20170626204932.6243-1-stephen@that.guru
State Accepted
Headers show

Commit Message

Stephen Finucane June 26, 2017, 8:49 p.m. UTC
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@that.guru>
Cc: Daniel Axtens <dja@axtens.net>
---
 patchwork/tests/test_series.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Sean Farley June 28, 2017, 3:25 a.m. UTC | #1
Stephen Finucane writes:

> 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@that.guru>
> Cc: Daniel Axtens <dja@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
> -

Sure, looks good to me.

Reviewed-by: Sean Farley <sean@farley.io>
diff mbox

Patch

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])