Patchwork D810: tests: add interface checks for bundle, statichttp, and union peers

login
register
mail settings
Submitter phabricator
Date Sept. 26, 2017, 1:45 p.m.
Message ID <7f3c6e1354071a37c5ac9cf8ee162652@localhost.localdomain>
Download mbox | patch
Permalink /patch/24159/
State Not Applicable
Headers show

Comments

phabricator - Sept. 26, 2017, 1:45 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGafcbc6f64d27: tests: add interface checks for bundle, statichttp, and union peers (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D810?vs=2060&id=2085

REVISION DETAIL
  https://phab.mercurial-scm.org/D810

AFFECTED FILES
  tests/test-check-interfaces.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-check-interfaces.py b/tests/test-check-interfaces.py
--- a/tests/test-check-interfaces.py
+++ b/tests/test-check-interfaces.py
@@ -3,10 +3,13 @@ 
 from __future__ import absolute_import, print_function
 
 from mercurial import (
+    bundlerepo,
     httppeer,
     localrepo,
     sshpeer,
+    statichttprepo,
     ui as uimod,
+    unionrepo,
 )
 
 def checkobject(o):
@@ -67,5 +70,8 @@ 
     checkobject(httppeer.httppeer(ui, 'http://localhost'))
     checkobject(localrepo.localpeer(dummyrepo()))
     checkobject(testingsshpeer(ui, 'ssh://localhost/foo'))
+    checkobject(bundlerepo.bundlepeer(dummyrepo()))
+    checkobject(statichttprepo.statichttppeer(dummyrepo()))
+    checkobject(unionrepo.unionpeer(dummyrepo()))
 
 main()