This is a preparation to split the openstack api v1 test cases. The
current test case file is too large for maintenance. This patch renames
the openstack folder to openstack_v1 so that in future we (hopefully)
don't have to move them around again.
Change-Id: Ie939e2d6022e688e02c5c946346b223e7b319136
The functional gate is also failing due to a recent
change introduced in devstack -> I613f1bdc6673f0c4bfe29aaab7b514348a617a8c
This fixes both the gates, functional and unit tests.
Co-Authored-By: Thomas Herve <therve@redhat.com>
Closes-Bug: #1473398
Change-Id: Ia77a1fd884c6346edfb90777e91a51d279ccd92a
This will now use unichr instead of chr to convert
an integer to byte-string. Then these bytes are
encoded and decoded with 'latin-1' to comply with
the existing tests that assert against absolute values.
partial blueprint heat-python34-support
Change-Id: I5b9de1cea54889fa388993b9afa4b45f01fbec4a
Also, fix minor flake8 issue related to Long literal.
This should now have the python34 gate job passing.
partial blueprint heat-python34-support
Change-Id: I7f85e7251fc96587df0b43daac202c38542a6f6c
On Python 3, the decorator does nothing. On Python 2, it aliases the
__str__ method to __unicode__ and creates a new __str__ method that
returns the result of __unicode__() encoded with UTF-8.
All instances of __unicode__ have been removed with the
aforementioned decorator in place instead.
Note: There are some instances of __str__ which aren't handled but
will be once we have actual python34 tests running in the gate.
partial blueprint heat-python34-support
Change-Id: I7271a2581e1c2bbc282933c7da73db810c7e09db
Add a tox environment for bandit so it can be run as a gate job
eventually. As-is, there are no high severity issues detected in heat.
Change-Id: Iab098a1d8bac5c95d67e6867ad5249987c3a786e
This patch adds call for extracting Tags from args and converting them
to list of tags instead of string.
Change-Id: If5159a548d38e6cb8400800be1e564c44c638edf
Closes-Bug: #1472266
Added the required property 'name' to the KeyPair resource 'my_key' in
the Create a key pair example.
Existing example failed due to missing property 'name'.
Change-Id: If3db4afb0dc5cb69780b03cf2d91c06d5d6996ef
Currently, users can list resources without details, or show
specific resource with details. However, they cannot list all
resources with details. It is desirable to support that.
With consistency concern, we should use {list URI}/detail as
pattern for resources detail list just like other detail list
API, but this pattern will conflict with
{resources list URI}/{resource name} when resoruce name
is 'detail', so implement this feature as a param in list API
seems to be this only option in this case.
DocImpact
APIImpact
Change-Id: I59f464d1803009d7ae2ec35d9fdf0671096967e4
Closes-Bug: #1467268
This patch splits the stack events related test cases out. There are
revisions regarding wrt replacing mox with mock calls.
Change-Id: I596590fd8e0ce3b54a4a29259fbaf7c4de6016f4
After commit I0f33afe9fac835da9041ff48695bb8cd18660383
some attributes have Bollean type which is missed in
the attributes schema.
Change-Id: I309c5a02b86dc2c8567bd8dfb43f10b31e89dcf8