tests: add check to make sure summary works on Python 2
authorPulkit Goyal <7895pulkit@gmail.com>
Wed, 29 Mar 2017 14:56:58 +0530
changeset 31717 62676bb8d534
parent 31716 439a387ca6f1
child 31718 bf64449b2779
tests: add check to make sure summary works on Python 2
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