OS_TENANT_NAME variable is deprecated in Devstack.
Replace it with OS_PROJECT_NAME variable in configuration script
tools/run_functional.sh which generates config dynamically.
Change-Id: I7b2fab37aeae6e37672b9b92f0b5ae49a1b2e2d9
Related-Bug: #1646837
Explicitly use `--os-identity-api-version` option
for Baremetal OSC plugin functional tests
taking it's value from config.
Change-Id: I3eeb7cd029fe440684a5736eeb3b5788d1666a08
Closes-Bug: #1646837
Sync tools/tox_install.sh with python-openstackclient. This brings in
the following improvements:
* Do not leave temporary directory around, instead delete temporary
directory directly after usage (change
I939eae82dba3287fd4e4086128ebf4609a0e0770).
* Do not set ZUUL_BRANCH explicitely and remove unused if condition
(change I0077c986a17d6bb92791474e03d1e77776e9382f).
Change-Id: I16b2ffaa21cc8ac6925a8d5a39bdd1b08d6bcd43
This configures tox to use upper-constraints for everything, except
environments used for post jobs (as constraints aren't supported there
yet).
Change-Id: I6f3fb3fba567401c1da0196de30e142f7ca11eb4
This manually reverts commit 07827ed717f94ed05027787cc0c875e0a2e18844
which sorted the requirement files in alphabetical order and added a
test to ensure that they were sorted.
The requirement files should not be sorted:
http://lists.openstack.org/pipermail/openstack-dev/2014-September/044736.html
Change-Id: I8917b85ad1d8571dc36ecda7570ee53c4e5da72d
This is basically a revert of commit:
af741ec2236619880fa902d68aef4a6ae6cef534
It was decided that only files that need to have the line:
# -*- coding: utf-8 -*-
Should have the line[1] as a general principle
This patch removes the 'utf-8' coding line from files that consist
entirely of ASCII characters.
[1]
http://eavesdrop.openstack.org/meetings/ironic/2015/ironic.2015-04-20-17.00.html
Partial-bug: #1325193
Change-Id: I88c1c37f7b580aa805eae9d4a1e66d33302a325f
This moves unit tests to ironicclient/tests/unit and adds a new test
directory at ironicclient/tests/functional. These are meant to be
functional tests that are run against a living cloud (presumably deployed
by devstack as part of a gating job). They depend on a test.conf to exist
that contains admin user credentials for said cloud. This includes a simple
run_functional.sh script that is meant to create that and serve as the entry
point for running the tests from a devstack post_test_hook.
Change-Id: I11570c3e22e4f80b94d0643dca6ed8231217c877
This commit adds the 'bash-completion' option to
ironic cli which prints all sub-commands and
options, and bash_completion scripts for bash
auto completion.
Change-Id: Ide5b29e262b4217046f124d86902cd0abfdab1b6
Closes-Bug: 1332408
While not strictly necessary for files containing only ASCII
characters, adding a line with "coding: utf-8" can guard against
future SyntaxError's in case someone inserts a Unicode literal.
This commit adds such lines to all .py files. The syntax used by this
commit works with Python (of course). It also works with Emacs, which
will recognize the special "-*-" marker and use the "coding" variable
to correctly decode the file, even in an environment where UTF-8 is
not the default file encoding.
Existing coding lines were normalized to match the new lines added.
Partial-bug: #1325193
Change-Id: I58bf93fea711fd25890356a397e594bd820c99e3
This makes code more readable, and can check whether specific library
in the requirement files easily. We also enforce the check in pep8.
Change-Id: I138b332102a94557f153f8982ec00d493e2472b0
Closes-Bug: #1285478