test fail with AttributeError: assert_called_once

Bug #1473420 reported by Rico Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
New
Undecided
Rico Lin
python-heatclient
New
Undecided
Rico Lin

Bug Description

run tox -e py27
with error show up
Traceback (most recent call last):
  File "heatclient/tests/unit/v1/test_hooks.py", line 64, in test_create_nested_hooks_in_args
    self.client.stacks.create.assert_called_once()
  File "/home/rico/develop/openstack/python-heatclient/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 714, in __getattr__
    raise AttributeError(name)
AttributeError: assert_called_once

Rico Lin (rico-lin)
Changed in python-heatclient:
assignee: nobody → Rico Lin (rico-lin)
Rico Lin (rico-lin)
Changed in heat:
assignee: nobody → Rico Lin (rico-lin)
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.