Fix todo that is not needed anymore stestr conf
Stestr conf was using the wrong module name so tox would not work (I have no idea how that passes tempest gates) So fixing that so tox works (on an env that has tempest setup) and removed todos that the force deletion has been merged Change-Id: Ib47148c5e28acaae7cd5872a1af3e7d044336ea1
This commit is contained in:
parent
3a1b40ff15
commit
35d94fd609
@ -1,3 +1,3 @@
|
||||
[DEFAULT]
|
||||
test_path=./mistral-tempest-plugin/tests
|
||||
test_path=mistral_tempest_tests
|
||||
top_dir=./
|
||||
|
@ -81,16 +81,11 @@ class MistralClientBase(rest_client.RestClient):
|
||||
|
||||
def delete_obj(self, obj, name, force=None):
|
||||
if force:
|
||||
# TODO(apetrich) This try except is a partial implementation
|
||||
# to be removed once force deletion lands in mistral
|
||||
try:
|
||||
return self.delete('{obj}/{name}?force={force}'.format(
|
||||
obj=obj,
|
||||
name=name,
|
||||
force=bool(force))
|
||||
)
|
||||
except Exception:
|
||||
pass
|
||||
return self.delete('{obj}/{name}?force={force}'.format(
|
||||
obj=obj,
|
||||
name=name,
|
||||
force=bool(force))
|
||||
)
|
||||
|
||||
return self.delete('{obj}/{name}'.format(obj=obj, name=name))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user