Patchwork [2,of,2,py3] tests: add check to make sure summary works on Python 2

login
register
mail settings
Submitter Pulkit Goyal
Date March 29, 2017, 7:51 p.m.
Message ID <61f9c295463e713241d8.1490817099@pulkit-goyal>
Download mbox | patch
Permalink /patch/19829/
State Accepted
Headers show

Comments

Pulkit Goyal - March 29, 2017, 7:51 p.m.
# HG changeset patch
# User Pulkit Goyal <7895pulkit@gmail.com>
# Date 1490779618 -19800
#      Wed Mar 29 14:56:58 2017 +0530
# Node ID 61f9c295463e713241d8265e20ad8208af6fe22a
# Parent  7339bf21508131c90a44317ff16214b81ebe62c1
tests: add check to make sure summary works on Python 2

Patch

diff -r 7339bf215081 -r 61f9c295463e tests/test-check-py3-commands.t
--- a/tests/test-check-py3-commands.t	Wed Mar 29 14:47:52 2017 +0530
+++ b/tests/test-check-py3-commands.t	Wed Mar 29 14:56:58 2017 +0530
@@ -111,6 +111,7 @@ 
 
 `hg init` can create empty repos
 `hg status works fine`
+`hg summary` also works!
 
   $ $PYTHON3 `which hg` init py3repo
   $ cd py3repo
@@ -131,6 +132,13 @@ 
   A A/mu
   $ HGEDITOR='echo message > ' $PYTHON3 $HGBIN commit
   $ $PYTHON3 $HGBIN status
+  $ $PYHON3 $HGBIN summary
+  parent: 1:e1e9167203d4 tip
+   message
+  branch: default
+  commit: (clean)
+  update: (current)
+  phases: 2 draft
 
 Prove the repo is valid using the Python 2 `hg`:
   $ hg verify