Mercurial > hg
annotate tests/test-check-interfaces.py.out @ 34305:0e48813cc106
alias: test duplicated definition earlier
This patch moves the old definition checking logic introduced by
f4b7be3f8430 earlier. So that the test itself does not depend on `aliasdef`.
The check is to avoid wrapping a same alias multiple times. It can be done
by checking the config name and value (`definition` in code), without
constructing a `cmdalias` instance.
This makes the next patch easier to review.
Differential Revision: https://phab.mercurial-scm.org/D804
author | Jun Wu <quark@fb.com> |
---|---|
date | Sat, 23 Sep 2017 13:31:09 -0700 |
parents | b70029f355a3 |
children | 39f7d4ee8bcd |
rev | line source |
---|---|
33807
b70029f355a3
tests: verify that peer instances only expose interface members
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
1 public attributes not in abstract interface: badpeer.badattribute |
b70029f355a3
tests: verify that peer instances only expose interface members
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
2 public attributes not in abstract interface: badpeer.badmethod |