In case of flavor_create and flavor_delete, they are extensions (FlavorManage) __and__ need to be run as admin user.
So I can see two ways to segregate such tests.
1. /tempest/tests/compute/admin/test_flavors.py (as Jay suggested above)
2. /tempest/tests/compute/extensions/admin/test_flavor_extension.py
(and maybe have a ..extensions/nonadmin/ directory)
Since flavorsmanage.py resides in compute/contrib in nova source, I think structure (2) above
might be more closer to the source code.
In case of flavor_create and flavor_delete, they are extensions (FlavorManage) __and__ need to be run as admin user.
So I can see two ways to segregate such tests.
1. /tempest/ tests/compute/ admin/test_ flavors. py (as Jay suggested above) tests/compute/ extensions/ admin/test_ flavor_ extension. py nonadmin/ directory)
2. /tempest/
(and maybe have a ..extensions/
Since flavorsmanage.py resides in compute/contrib in nova source, I think structure (2) above
might be more closer to the source code.