Fix requirements and tests for python-fuelclient 8.0

* bump pbr version to >=1.6 as it is in global-requirements
* uncomment extras section in setup.cfg as new pbr can handle it now
* turn off "newly" introduced fuzzy command suggestions in cliff for
  tests

Change-Id: I161813b7e25719b6bb19909adfc2d094c5c480ce
This commit is contained in:
Yuriy Taraday 2016-03-02 16:07:39 +03:00
parent 30119979b8
commit 96dce81ac5
3 changed files with 8 additions and 6 deletions

View File

@ -28,6 +28,10 @@ class SafeOctaneApp(app.OctaneApp):
parser.set_defaults(debug=True)
return parser
def get_fuzzy_matches(self, cmd):
# Turn off guessing, we need exact failures in tests
return []
def run(self, argv):
try:
exit_code = super(SafeOctaneApp, self).run(argv)

View File

@ -1,7 +1,7 @@
# NOTE: These requirements *must* match those of libs installed on Fuel master
# To verify them, use command like "rpm -q --whatrequires python-cliff" and
# examine requirements of software listed there.
pbr>=0.6,!=0.7,<1.0
pbr>=1.6
python-fuelclient # It pulls following libs:
#cliff

View File

@ -23,11 +23,9 @@ classifier =
packages =
octane
# NOTE(akscram): The extras section properly handled in pbr>=1.0.0 and
# represents the extras_require parameter.
# [extras]
# zabbix =
# pyzabbix==0.7.3
[extras]
zabbix =
pyzabbix==0.7.3
[entry_points]
console_scripts =