adopt oslo_config.fixture.Config

Bug #1485537 reported by Ihar Hrachyshka
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
neutron
Expired
Wishlist
Unassigned

Bug Description

Currently, base test class tries to mock out oslo.config autodiscovery to isolate tests from external configuration files, but does not make it completely. F.e. policy.d directory is still accessed by oslo.policy code, making bugs like bug 1484553.

I hope that adopting the fixture should isolate us from all configuration files that are external to unit tests tree.

Tags: unittest oslo
Changed in neutron:
assignee: nobody → Ihar Hrachyshka (ihar-hrachyshka)
tags: added: oslo
Changed in neutron:
status: New → Confirmed
Changed in neutron:
importance: Undecided → Medium
tags: added: functional-tests
tags: added: low-hanging-fruit
Sergey Belous (sbelous)
Changed in neutron:
assignee: Ihar Hrachyshka (ihar-hrachyshka) → Sergey Belous (sbelous)
Sergey Belous (sbelous)
Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/254301

Changed in neutron:
importance: Medium → Low
Changed in neutron:
importance: Low → Wishlist
Sergey Belous (sbelous)
Changed in neutron:
assignee: Sergey Belous (sbelous) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Sergey Belous (<email address hidden>) on branch: master
Review: https://review.openstack.org/254301
Reason: Not sure that it make sense

Changed in neutron:
assignee: nobody → Sofia Enriquez (lsofia-enriquez)
Changed in neutron:
assignee: Sofia Enriquez (lsofia-enriquez) → nobody
Sergey Belous (sbelous)
Changed in neutron:
status: In Progress → Confirmed
tags: removed: low-hanging-fruit
tags: added: unittest
removed: functional-tests
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

This bug is > 180 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.

If the bug is still valid, then update the bug status.

Changed in neutron:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.