Imported config is incorrect as it returns NoneType

Bug #1742631 reported by Nishant Kumar
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
heat-tempest-plugin
New
Undecided
Nishant Kumar

Bug Description

Config imported in heat_tempest_plugin/common/test.py is incorrect as it returns Nonetype. This will affect all the test as it is in the setup class. The correct config should be imported from tempest

See the below error:

  File "heat_tempest_plugin/tests/scenario/scenario_base.py", line 22, in setUp
    super(ScenarioTestsBase, self).setUp()
  File "heat-tempest-plugin/heat_tempest_plugin/common/test.py", line 96, in setUp
    self.conf = config.CONF.heat_plugin
AttributeError: 'NoneType' object has no attribute 'heat_plugin'

Changed in heat-tempest-plugin:
assignee: nobody → Nishant Kumar (nishant-tech07)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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