17 Commits

Author SHA1 Message Date
Kyrylo Romanenko
fab6a8bfef Pass os_identity_api_version into functional tests
Add 'os_identity_api_version' to keystone_v3_conf_settings.
Deduplicate excessive _ironic_osc method.

Change-Id: I9b93ec8a299d3a69629bf294d23d1b1d9e23660e
Closes-Bug: #1646837
2017-07-31 17:17:45 +03:00
Jenkins
b8020abd4b Merge "Change os_tenant_name to os_project_name in tests configuration script" 2017-01-25 17:17:41 +00:00
Kyrylo Romanenko
5edcdf0d60 Change os_tenant_name to os_project_name in tests configuration script
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
2017-01-18 14:15:31 +00:00
Kyrylo Romanenko
c100a552f5 Use identity api version 3 for OSC plugin tests
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
2016-12-12 17:31:55 +02:00
Andreas Jaeger
1bc9df91a1 Sync tools/tox_install.sh
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
2016-08-30 19:47:38 +02:00
Jim Rollenhagen
83f70ba0a5 Use constraints for all the things
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
2016-08-19 08:40:00 -04:00
Vladyslav Drok
1e69e44835 Allow functional tests to work with Keystone v3
Closes-bug: #1540287

Change-Id: Ia8f1d41c828dd922559bf8fbcd1b331b0247faf1
2016-02-01 15:56:43 +02:00
Jim Rollenhagen
4757e69c13 Drop explicit Python 2.6 support
Removes py26 env from tox.ini and other 2.6 references.

Change-Id: I2060047d3bc29c25c500086ab7d9c0e827486654
2015-11-17 18:06:00 -08:00
Ruby Loo
6060c1875d Revert: requirement files in alphabetical order
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
2015-07-13 23:53:46 +00:00
John L. Villalovos
2df670cf30 Remove unneeded 'utf-8' coding lines
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
2015-04-21 16:44:47 +00:00
Adam Gandelman
d76862b186 Adds basic ironicclient functional testing
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
2015-03-09 13:45:20 -07:00
Jenkins
25befcb5f9 Merge "Add bash completion support for ironic cli" 2014-07-15 18:58:11 +00:00
Ramakrishnan G
1155530941 Add bash completion support for ironic cli
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
2014-07-09 22:50:12 +05:30
Martin Geisler
af741ec223 Add UTF-8 coding lines to all Python files
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
2014-05-31 13:22:44 +02:00
ChenZheng
07827ed717 Sort requirement files in alphabetical order
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
2014-02-27 19:35:56 +08:00
He Yongli
3622dfa2fb Remove vim header
No need to set tabstop tons of times, this can be set in your vimrc
file instead.

More disucssion:
http://openstack.10931.n7.nabble.com/Remove-vim-modelines-td21780.html

Change-Id: Iff0d2e4725355800f923a04a1bfcac3003a6abd2
Close-bug: #1229324
2014-02-13 15:11:42 +08:00
Chris Krelle
8136ec1b72 Add initial files
Add initial files to the repo.

Change-Id: Ia6b0278fc9817f44e63507b54e7d7ad41bf4e219
2013-09-05 16:35:21 -07:00