Fixed null str returned for incorrect parameter

For resources like ResourceGroup, the output parameters are not
validated during stack creation. When a stack has an output parameter
which accesses an incorrect attribute of a resource, the output-show
command returns the string 'null'.
This fix instead returns an error indicating the incorrect attribute
being accessed.

Change-Id: I51eea4738bfefb35644a384ec6d4e9176c8f2e26
Closes-bug: #1368041
Updated from global requirements

Change-Id: Id5292a78f9c1aa90ad3da2b2b87aa1ffa668f2f8
Remove extraneous vim editor configuration comments

Change-Id: Ib2635e29c6c3259b270e4a046a1afea22582ceb8
Partial-Bug: #1229324
Merge "Fixed null str returned for incorrect parameter"
Merge "Updated from global requirements"
Updated from global requirements

Change-Id: Ia6c53a49bebf83cd08a4a031c6823fc8c92047cf
Pass auth_url if os_no_client_auth specified

The standalone auth_password middleware expects 'X-Auth-Url' header
in the request. The recent version of heatclient doesn't pass the
required header which is retrieved from the option '--os-auth-url',
though we explicitly specify it in the commandline. Let's pass the
argument 'auth_url' and get heatclient working in standalone mode.

Change-Id: I3e67f4699c61c3ce5c42f25e3c8b137f8ba8a2e3
Closes-bug: #1380658
Put a cap on our cyclomatic complexity

flake8 has support for cyclomatic complexity (Mccabe) currently our
worst offender has a complexity of 18 (25 is considered very bad). So
set our max-complexity to 20 so we keep our complexity in a great shape.

https://github.com/flintwork/mccabe

Change-Id: I682f3c192e46bd50236b10a337f0b129c4b02eb8
Merge "Pass auth_url if os_no_client_auth specified"
Make sure the --heat-url option is respected

If the endpoint is passed in, make sure keystone uses it instead of
looking up the endpoint in the auth plugin.

Change-Id: I1c1c21d9533cd78f2dbfac91dcf0c6e9702b7c88
Closes-Bug: #1379933
Merge "Make sure the --heat-url option is respected"
Allow mock-based patching in shell tests

Added `patch` method that uses mock.patch (similar to `patchobject`)
  - NOTE: this shadows `testtools.TestCase.patch` method that uses
    simple monkey-patching in favor of mock-based patching,
    relevant comment added in the code.
Also oslotest dependency is added.

Change-Id: Ie4d25bc53decb308398eded350c81a90a257b254
Related-Bug: #1384511
Fix shell tests for Python 3.4

Partial-Bug: #1384511

Change-Id: I7485184a84ec850c4cd695118f18b55e298f5124
Fix event tests for Python 3.4

Change-Id: Idec7e84fcc168df707e89042831ae8f1afb2067c
Partial-Bug: #1384511
Fix template_utils tests for Python 3.4

Change-Id: I9e4df63771e8fdb6433e65faffedef60d0320062
Closes-Bug: #1384511