core.parameters: Consider same-path origin as the same origin
Currently we compare the full TreeNodeEnvironment object to make sure
they come from the same origin, which only works for connected tree. But
Avocado supports (and uses in json-load) passing leaves of unconnected
trees, but then the TreeNodeEnvironments are not matching.
Let's rely only on "TreeNodeEnvironment.path" and declare these matching
environments, no matter what values are stored (see selftest for
details)
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录