← Back to team overview

openstack-qa-team team mailing list archive

Devstack dependent tests

 

Hi,

We are writing new tests for keystone and some of these tests need to touch keystone database.
I really want to avoid  this, but unfortunately there are no RESTful APIs supported in stable/essex to do the job.

One of the example is
1.	Check if get_tenants api fails for expired token. There is no way I can set expiry date of the token using admin RESTful API.

So currently I'm planning to use mysql client commands and set the expiry date. 
All such tests will be put in the attr decorator with the name "devstack". So any one who doesn't want to run such tests should run tempest with nosetests -a kind!=devstack.

Does it make sense to add such tests?

Regards,
Rohit

______________________________________________________________________
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding


Follow ups