Commit 483fd19e authored by Piotr Batko's avatar Piotr Batko
Browse files

Fix bug in scoped names, when parent is changed after child creation

Bug description:
In hive/tests/functional/python_tests/hived/test_hived_options.py first tests
do not need package fixture, but latter needs. Operations order is following:
- package scope creation
- module scope creation
- package-fixture creation  <-- here names in module scope were not informed
                                about names registered in package-fixture

Solution:
Child always checks before registering new name, what names are registered in
parent. This is not tested in opposite way, because such situation doesn't
happen with pytest fixtures. Fixtures with higher scope are run before.
parent 0cc9bc9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment