D12036: test-http-bad-server: move the extension in `testlib`
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon Jan 24 14:45:44 UTC 2022
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REVISION SUMMARY
This seems like a better location for it.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D12036
AFFECTED FILES
tests/badserverext.py
tests/test-check-code.t
tests/test-http-bad-server.t
tests/testlib/badserverext.py
CHANGE DETAILS
diff --git a/tests/badserverext.py b/tests/testlib/badserverext.py
rename from tests/badserverext.py
rename to tests/testlib/badserverext.py
diff --git a/tests/test-http-bad-server.t b/tests/test-http-bad-server.t
--- a/tests/test-http-bad-server.t
+++ b/tests/test-http-bad-server.t
@@ -30,7 +30,7 @@
$ cat > .hg/hgrc << EOF
> [extensions]
- > badserver = $TESTDIR/badserverext.py
+ > badserver = $TESTDIR/testlib/badserverext.py
> [server]
> compressionengines = none
> EOF
diff --git a/tests/test-check-code.t b/tests/test-check-code.t
--- a/tests/test-check-code.t
+++ b/tests/test-check-code.t
@@ -33,7 +33,7 @@
Skipping contrib/packaging/hgpackaging/wix.py it has no-che?k-code (glob)
Skipping i18n/polib.py it has no-che?k-code (glob)
Skipping mercurial/statprof.py it has no-che?k-code (glob)
- Skipping tests/badserverext.py it has no-che?k-code (glob)
+ Skipping tests/testlib/badserverext.py it has no-che?k-code (glob)
@commands in debugcommands.py should be in alphabetical order.
To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list