# HG changeset patch # User Gregory Szorc # Date 2017-08-19 03:20:38 # Node ID afcbc6f64d27169046083af4cb74d5f52bd48ef2 # Parent bd50aa1aa035429e7cd099aae8f3b2db388e561b tests: add interface checks for bundle, statichttp, and union peers I forgot to add these when I initially wrote the test. They inherit from localrepo.localpeer, so they should be explicitly tested. Differential Revision: https://phab.mercurial-scm.org/D810 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 @@ def main(): 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()