murano/murano/tests/unit
Stan Lagun fb593ab439 External object IDs couldn't be used in template() contracts
Due to the bug in object serializer, when template() contract
serialized the template to a dictionary, instead of object IDs
for the objects outside of serialized tree it put the object body.
Thus when new objects were created from the template, they all
had copies of that object with different IDs rather than copies
of the ID string (i.e. references to the same object).

Also template() contract tried to serialize the template on each of
the 2 object model load passes even though the result from the first
pass is never used. However, during first pass the model could contain
forward-references to objects that are not loaded yet so attempt to
serialize such model could fail.

Change-Id: I9d81f10c160c44e6405b54f5470904064c1d4852
Closes-Bug: #1689769
2017-05-19 19:19:07 +00:00
..
api Replace six.iteritems() with .items() 2017-05-03 09:17:18 +00:00
cmd Remove log translations 2017-04-03 12:11:20 +08:00
common Make murano auth with murano_auth section instend of keystone_authtoken 2017-04-21 10:37:44 +08:00
core_library Remove partial clean-up in Instance.destroy 2014-09-04 15:29:43 +04:00
db Remove log translations 2017-04-03 12:11:20 +08:00
dsl External object IDs couldn't be used in template() contracts 2017-05-19 19:19:07 +00:00
engine Replace six.iteritems() with .items() 2017-05-03 09:17:18 +00:00
packages Replace yaml.load() with yaml.safe_load() 2017-03-10 15:45:01 +08:00
policy Ability to retrieve current/owner user/project 2016-11-24 02:07:34 -08:00
services Ability to retrieve current/owner user/project 2016-11-24 02:07:34 -08:00
__init__.py Move and rename functional tests 2014-07-29 22:29:27 +04:00
base.py make enforce_type=True in CONF.set_override 2016-01-13 23:28:26 +08:00
test_actions.py Remove unnecessary setUp 2016-09-25 16:20:08 +08:00
test_engine.py Removes unnecessary utf-8 encoding 2016-12-22 10:36:26 +07:00
test_hacking.py Replace six.iteritems() with .items() 2017-05-03 09:17:18 +00:00
test_heat_stack.py Remove log translations 2017-04-03 12:11:20 +08:00
test_utils.py Use method ensure_tree from oslo.utils 2016-11-14 19:45:48 +08:00
utils.py Refactor existing context attributes to base class 2017-05-10 15:58:00 +03:00