Renamed test_repo to cloudroast. Changed all instances of 'test_repo' to 'cloudroast'.
Change-Id: I834ef653b66880b1e6b981e4486a0a73740b37cf
This commit is contained in:
parent
dbdd275c00
commit
4d37a61c0e
@ -58,7 +58,7 @@ Basic CloudRoast Package Anatomy
|
|||||||
-------------------------------
|
-------------------------------
|
||||||
Below is a short description of the top level CloudRoast Packages.
|
Below is a short description of the top level CloudRoast Packages.
|
||||||
|
|
||||||
##test_repo
|
##cloudroast
|
||||||
This is the root package for all automated tests. This is namespace is currently **required** by the cafe-runner for any Test Repository plug-in.
|
This is the root package for all automated tests. This is namespace is currently **required** by the cafe-runner for any Test Repository plug-in.
|
||||||
|
|
||||||
##identity
|
##identity
|
||||||
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__title__ = 'test_repo'
|
__title__ = 'cloudroast'
|
||||||
__version__ = '0.0.1'
|
__version__ = '0.0.1'
|
||||||
#__build__ = 0x010100
|
#__build__ = 0x010100
|
||||||
__author__ = 'Rackspace Cloud QE'
|
__author__ = 'Rackspace Cloud QE'
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.cloudkeep.barbican.fixtures import OrdersFixture
|
from cloudroast.cloudkeep.barbican.fixtures import OrdersFixture
|
||||||
|
|
||||||
|
|
||||||
class OrdersAPI(OrdersFixture):
|
class OrdersAPI(OrdersFixture):
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from test_repo.cloudkeep.barbican.fixtures import SecretsFixture
|
from cloudroast.cloudkeep.barbican.fixtures import SecretsFixture
|
||||||
|
|
||||||
|
|
||||||
class SecretsAPI(SecretsFixture):
|
class SecretsAPI(SecretsFixture):
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from cloudcafe.cloudkeep.barbican.orders.models.order import Order
|
from cloudcafe.cloudkeep.barbican.orders.models.order import Order
|
||||||
from test_repo.cloudkeep.barbican.fixtures import OrdersFixture
|
from cloudroast.cloudkeep.barbican.fixtures import OrdersFixture
|
||||||
|
|
||||||
|
|
||||||
class OrdersAPI(OrdersFixture):
|
class OrdersAPI(OrdersFixture):
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.cloudkeep.barbican.fixtures import SecretsFixture
|
from cloudroast.cloudkeep.barbican.fixtures import SecretsFixture
|
||||||
|
|
||||||
|
|
||||||
class SecretsAPI(SecretsFixture):
|
class SecretsAPI(SecretsFixture):
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.cloudkeep.barbican.fixtures import VersionFixture
|
from cloudroast.cloudkeep.barbican.fixtures import VersionFixture
|
||||||
|
|
||||||
|
|
||||||
class TestVersion(VersionFixture):
|
class TestVersion(VersionFixture):
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.cloudkeep.client_lib.fixtures import SecretsFixture
|
from cloudroast.cloudkeep.client_lib.fixtures import SecretsFixture
|
||||||
from barbicanclient.common.exceptions import ClientException
|
from barbicanclient.common.exceptions import ClientException
|
||||||
|
|
||||||
|
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.cloudkeep.client_lib.fixtures import OrdersFixture
|
from cloudroast.cloudkeep.client_lib.fixtures import OrdersFixture
|
||||||
|
|
||||||
|
|
||||||
class OrdersAPI(OrdersFixture):
|
class OrdersAPI(OrdersFixture):
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.cloudkeep.client_lib.fixtures import SecretsFixture
|
from cloudroast.cloudkeep.client_lib.fixtures import SecretsFixture
|
||||||
|
|
||||||
|
|
||||||
class SecretsAPI(SecretsFixture):
|
class SecretsAPI(SecretsFixture):
|
@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from cloudcafe.compute.common.types import BackupTypes
|
from cloudcafe.compute.common.types import BackupTypes
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
|
|
||||||
class CreateBackupTests(ComputeAdminFixture):
|
class CreateBackupTests(ComputeAdminFixture):
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
from cloudcafe.compute.common.exceptions import ActionInProgress, BadRequest
|
from cloudcafe.compute.common.exceptions import ActionInProgress, BadRequest
|
||||||
from cloudcafe.compute.common.types import NovaServerRebootTypes
|
from cloudcafe.compute.common.types import NovaServerRebootTypes
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
|
|
||||||
class LockServerTests(ComputeAdminFixture):
|
class LockServerTests(ComputeAdminFixture):
|
@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
|
|
||||||
class MigrateServerTests(ComputeAdminFixture):
|
class MigrateServerTests(ComputeAdminFixture):
|
@ -13,8 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
|
||||||
|
|
||||||
|
|
||||||
class PauseServerTests(ComputeAdminFixture):
|
class PauseServerTests(ComputeAdminFixture):
|
@ -13,8 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
|
||||||
|
|
||||||
|
|
||||||
class ResetServerStateTests(ComputeAdminFixture):
|
class ResetServerStateTests(ComputeAdminFixture):
|
@ -13,8 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
|
||||||
|
|
||||||
|
|
||||||
class StopServerTests(ComputeAdminFixture):
|
class StopServerTests(ComputeAdminFixture):
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
|
|
||||||
class SuspendServerTests(ComputeAdminFixture):
|
class SuspendServerTests(ComputeAdminFixture):
|
@ -17,7 +17,7 @@ import unittest2 as unittest
|
|||||||
|
|
||||||
from cloudcafe.compute.common.types import HostServiceTypes, ComputeHypervisors
|
from cloudcafe.compute.common.types import HostServiceTypes, ComputeHypervisors
|
||||||
from cloudcafe.compute.config import ComputeConfig
|
from cloudcafe.compute.config import ComputeConfig
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
compute_config = ComputeConfig()
|
compute_config = ComputeConfig()
|
||||||
hypervisor = compute_config.hypervisor.lower()
|
hypervisor = compute_config.hypervisor.lower()
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.types import HostServiceTypes
|
from cloudcafe.compute.common.types import HostServiceTypes
|
||||||
from cloudcafe.compute.config import ComputeConfig
|
from cloudcafe.compute.config import ComputeConfig
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
compute_config = ComputeConfig()
|
compute_config = ComputeConfig()
|
||||||
hypervisor = compute_config.hypervisor.lower()
|
hypervisor = compute_config.hypervisor.lower()
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.exceptions import ActionInProgress
|
from cloudcafe.compute.common.exceptions import ActionInProgress
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
|
|
||||||
class CreateFlavorTest(ComputeAdminFixture):
|
class CreateFlavorTest(ComputeAdminFixture):
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.exceptions import BadRequest, ItemNotFound
|
from cloudcafe.compute.common.exceptions import BadRequest, ItemNotFound
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
|
|
||||||
class DeleteFlavorTest(ComputeAdminFixture):
|
class DeleteFlavorTest(ComputeAdminFixture):
|
@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
|
|
||||||
class HypervisorsAdminTest(ComputeAdminFixture):
|
class HypervisorsAdminTest(ComputeAdminFixture):
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.auth.config import UserConfig
|
from cloudcafe.auth.config import UserConfig
|
||||||
from cloudcafe.compute.quotas_api.config import DefaultQuotaSetConfig
|
from cloudcafe.compute.quotas_api.config import DefaultQuotaSetConfig
|
||||||
from test_repo.compute.fixtures import ComputeAdminFixture
|
from cloudroast.compute.fixtures import ComputeAdminFixture
|
||||||
|
|
||||||
|
|
||||||
class QuotasAdminTest(ComputeAdminFixture):
|
class QuotasAdminTest(ComputeAdminFixture):
|
@ -15,7 +15,7 @@ limitations under the License.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class SecurityGroupTest(ComputeFixture):
|
class SecurityGroupTest(ComputeFixture):
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.exceptions import BadRequest, ItemNotFound
|
from cloudcafe.compute.common.exceptions import BadRequest, ItemNotFound
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class FlavorsTest(ComputeFixture):
|
class FlavorsTest(ComputeFixture):
|
@ -19,7 +19,7 @@ import unittest2 as unittest
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
||||||
from test_repo.compute.fixtures import CreateServerFixture
|
from cloudroast.compute.fixtures import CreateServerFixture
|
||||||
|
|
||||||
|
|
||||||
class CreateImageTest(CreateServerFixture):
|
class CreateImageTest(CreateServerFixture):
|
@ -18,7 +18,7 @@ from cafe.drivers.unittest.decorators import tags
|
|||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.exceptions import ItemNotFound, BadRequest
|
from cloudcafe.compute.common.exceptions import ItemNotFound, BadRequest
|
||||||
from cloudcafe.compute.common.types import NovaImageStatusTypes as ImageStates
|
from cloudcafe.compute.common.types import NovaImageStatusTypes as ImageStates
|
||||||
from test_repo.compute.fixtures import CreateServerFixture
|
from cloudroast.compute.fixtures import CreateServerFixture
|
||||||
|
|
||||||
|
|
||||||
class DeleteImageTest(CreateServerFixture):
|
class DeleteImageTest(CreateServerFixture):
|
@ -18,7 +18,7 @@ from cafe.drivers.unittest.decorators import tags
|
|||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.exceptions import ItemNotFound
|
from cloudcafe.compute.common.exceptions import ItemNotFound
|
||||||
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ImagesMetadataTest(ComputeFixture):
|
class ImagesMetadataTest(ComputeFixture):
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.exceptions import ItemNotFound
|
from cloudcafe.compute.common.exceptions import ItemNotFound
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ImagesMetadataNegativeTest(ComputeFixture):
|
class ImagesMetadataNegativeTest(ComputeFixture):
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.exceptions import ItemNotFound
|
from cloudcafe.compute.common.exceptions import ItemNotFound
|
||||||
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
||||||
from test_repo.compute.fixtures import CreateServerFixture
|
from cloudroast.compute.fixtures import CreateServerFixture
|
||||||
|
|
||||||
|
|
||||||
class ImagesTest(CreateServerFixture):
|
class ImagesTest(CreateServerFixture):
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ImageListTest(ComputeFixture):
|
class ImageListTest(ComputeFixture):
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.exceptions import BadRequest
|
from cloudcafe.compute.common.exceptions import BadRequest
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ImagesListTestNegative(ComputeFixture):
|
class ImagesListTestNegative(ComputeFixture):
|
@ -18,7 +18,7 @@ from cafe.drivers.unittest.decorators import tags
|
|||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.exceptions import ActionInProgress
|
from cloudcafe.compute.common.exceptions import ActionInProgress
|
||||||
from cloudcafe.compute.common.types import InstanceAuthStrategies
|
from cloudcafe.compute.common.types import InstanceAuthStrategies
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class CreateKeypairTest(ComputeFixture):
|
class CreateKeypairTest(ComputeFixture):
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.exceptions import ItemNotFound
|
from cloudcafe.compute.common.exceptions import ItemNotFound
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class DeleteKeypairTest(ComputeFixture):
|
class DeleteKeypairTest(ComputeFixture):
|
@ -22,7 +22,7 @@ from cloudcafe.compute.common.types import NovaServerStatusTypes as \
|
|||||||
ServerStates
|
ServerStates
|
||||||
from cloudcafe.compute.common.types import InstanceAuthStrategies
|
from cloudcafe.compute.common.types import InstanceAuthStrategies
|
||||||
from cloudcafe.compute.config import ComputeConfig
|
from cloudcafe.compute.config import ComputeConfig
|
||||||
from test_repo.compute.fixtures import CreateServerFixture
|
from cloudroast.compute.fixtures import CreateServerFixture
|
||||||
|
|
||||||
compute_config = ComputeConfig()
|
compute_config = ComputeConfig()
|
||||||
hypervisor = compute_config.hypervisor.lower()
|
hypervisor = compute_config.hypervisor.lower()
|
@ -19,7 +19,7 @@ import time
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.types import NovaServerRebootTypes
|
from cloudcafe.compute.common.types import NovaServerRebootTypes
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class RebootServerHardTests(ComputeFixture):
|
class RebootServerHardTests(ComputeFixture):
|
@ -19,7 +19,7 @@ import time
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.types import NovaServerRebootTypes
|
from cloudcafe.compute.common.types import NovaServerRebootTypes
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class RebootServerSoftTests(ComputeFixture):
|
class RebootServerSoftTests(ComputeFixture):
|
@ -22,7 +22,7 @@ from cloudcafe.compute.common.types import ComputeHypervisors
|
|||||||
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.config import ComputeConfig
|
from cloudcafe.compute.config import ComputeConfig
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class RebuildServerTests(ComputeFixture):
|
class RebuildServerTests(ComputeFixture):
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.types import InstanceAuthStrategies
|
from cloudcafe.compute.common.types import InstanceAuthStrategies
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ServerRescueTests(ComputeFixture):
|
class ServerRescueTests(ComputeFixture):
|
@ -19,7 +19,7 @@ import unittest2 as unittest
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ResizeServerUpConfirmTests(ComputeFixture):
|
class ResizeServerUpConfirmTests(ComputeFixture):
|
@ -19,7 +19,7 @@ import unittest2 as unittest
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ResizeServerDownConfirmTests(ComputeFixture):
|
class ResizeServerDownConfirmTests(ComputeFixture):
|
@ -19,7 +19,7 @@ import unittest2 as unittest
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ResizeServerUpRevertTests(ComputeFixture):
|
class ResizeServerUpRevertTests(ComputeFixture):
|
@ -22,7 +22,7 @@ from cloudcafe.compute.common.types import ComputeHypervisors
|
|||||||
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.config import ComputeConfig
|
from cloudcafe.compute.config import ComputeConfig
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class CreateServerTest(ComputeFixture):
|
class CreateServerTest(ComputeFixture):
|
@ -18,7 +18,7 @@ import unittest2 as unittest
|
|||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.exceptions import ItemNotFound
|
from cloudcafe.compute.common.exceptions import ItemNotFound
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ServersTest(ComputeFixture):
|
class ServersTest(ComputeFixture):
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
import unittest2 as unittest
|
import unittest2 as unittest
|
||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ServerListTest(ComputeFixture):
|
class ServerListTest(ComputeFixture):
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.exceptions import BadRequest
|
from cloudcafe.compute.common.exceptions import BadRequest
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ServerMissingParameterTests(ComputeFixture):
|
class ServerMissingParameterTests(ComputeFixture):
|
@ -19,7 +19,7 @@ import unittest2 as unittest
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.exceptions import ItemNotFound
|
from cloudcafe.compute.common.exceptions import ItemNotFound
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ServerMetadataTest(ComputeFixture):
|
class ServerMetadataTest(ComputeFixture):
|
@ -21,7 +21,7 @@ from cafe.drivers.unittest.decorators import tags
|
|||||||
from cloudcafe.compute.common.models.metadata import Metadata
|
from cloudcafe.compute.common.models.metadata import Metadata
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ServersTest(ComputeFixture):
|
class ServersTest(ComputeFixture):
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.exceptions import BadRequest, ItemNotFound
|
from cloudcafe.compute.common.exceptions import BadRequest, ItemNotFound
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class ServersNegativeTest(ComputeFixture):
|
class ServersNegativeTest(ComputeFixture):
|
@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
from cloudcafe.compute.common.types import NovaServerStatusTypes
|
||||||
from cloudcafe.common.tools.datagen import rand_name
|
from cloudcafe.common.tools.datagen import rand_name
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class UpdateServerTest(ComputeFixture):
|
class UpdateServerTest(ComputeFixture):
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
|
|
||||||
from cafe.drivers.unittest.decorators import tags
|
from cafe.drivers.unittest.decorators import tags
|
||||||
from cloudcafe.compute.common.exceptions import BadRequest, ItemNotFound
|
from cloudcafe.compute.common.exceptions import BadRequest, ItemNotFound
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class AdminAuthorizationTest(ComputeFixture):
|
class AdminAuthorizationTest(ComputeFixture):
|
@ -19,7 +19,7 @@ from cloudcafe.common.tools.datagen import rand_name
|
|||||||
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
from cloudcafe.compute.common.types import NovaImageStatusTypes
|
||||||
from cloudcafe.compute.common.types import NovaServerRebootTypes
|
from cloudcafe.compute.common.types import NovaServerRebootTypes
|
||||||
from cloudcafe.compute.common.exceptions import Unauthorized
|
from cloudcafe.compute.common.exceptions import Unauthorized
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class TokenRequiredTests(ComputeFixture):
|
class TokenRequiredTests(ComputeFixture):
|
@ -25,7 +25,7 @@ from cloudcafe.compute.common.exception_handler import ExceptionHandler
|
|||||||
from cloudcafe.compute.flavors_api.client import FlavorsClient
|
from cloudcafe.compute.flavors_api.client import FlavorsClient
|
||||||
from cloudcafe.compute.servers_api.client import ServersClient
|
from cloudcafe.compute.servers_api.client import ServersClient
|
||||||
from cloudcafe.compute.images_api.client import ImagesClient
|
from cloudcafe.compute.images_api.client import ImagesClient
|
||||||
from test_repo.compute.fixtures import ComputeFixture
|
from cloudroast.compute.fixtures import ComputeFixture
|
||||||
|
|
||||||
|
|
||||||
class AuthorizationTests(ComputeFixture):
|
class AuthorizationTests(ComputeFixture):
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.meniscus.fixtures import HostFixture
|
from cloudroast.meniscus.fixtures import HostFixture
|
||||||
|
|
||||||
|
|
||||||
class TestHost(HostFixture):
|
class TestHost(HostFixture):
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from uuid import UUID
|
from uuid import UUID
|
||||||
from test_repo.meniscus.fixtures import PairingFixture
|
from cloudroast.meniscus.fixtures import PairingFixture
|
||||||
|
|
||||||
|
|
||||||
class TestPairing(PairingFixture):
|
class TestPairing(PairingFixture):
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.meniscus.fixtures import ProducerFixture
|
from cloudroast.meniscus.fixtures import ProducerFixture
|
||||||
from cloudcafe.common.tools.datagen import random_string
|
from cloudcafe.common.tools.datagen import random_string
|
||||||
|
|
||||||
|
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.meniscus.fixtures import ProfileFixture
|
from cloudroast.meniscus.fixtures import ProfileFixture
|
||||||
|
|
||||||
|
|
||||||
class TestProfiles(ProfileFixture):
|
class TestProfiles(ProfileFixture):
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.meniscus.fixtures import StatusFixture
|
from cloudroast.meniscus.fixtures import StatusFixture
|
||||||
|
|
||||||
|
|
||||||
class TestStatus(StatusFixture):
|
class TestStatus(StatusFixture):
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.meniscus.fixtures import TenantFixture
|
from cloudroast.meniscus.fixtures import TenantFixture
|
||||||
|
|
||||||
|
|
||||||
class TestTenant(TenantFixture):
|
class TestTenant(TenantFixture):
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from test_repo.meniscus.fixtures import VersionFixture
|
from cloudroast.meniscus.fixtures import VersionFixture
|
||||||
|
|
||||||
|
|
||||||
class TestVersion(VersionFixture):
|
class TestVersion(VersionFixture):
|
@ -17,7 +17,7 @@ import time
|
|||||||
|
|
||||||
from cloudcafe.common.tools import md5hash
|
from cloudcafe.common.tools import md5hash
|
||||||
from cloudcafe.common.tools import randomstring
|
from cloudcafe.common.tools import randomstring
|
||||||
from test_repo.objectstorage.fixtures import ObjectStorageFixture
|
from cloudroast.objectstorage.fixtures import ObjectStorageFixture
|
||||||
|
|
||||||
CONTENT_TYPE_TEXT = 'text/plain; charset=UTF-8'
|
CONTENT_TYPE_TEXT = 'text/plain; charset=UTF-8'
|
||||||
|
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.objectstorage.fixtures import ObjectStorageFixture
|
from cloudroast.objectstorage.fixtures import ObjectStorageFixture
|
||||||
|
|
||||||
|
|
||||||
class AccountSmokeTest(ObjectStorageFixture):
|
class AccountSmokeTest(ObjectStorageFixture):
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.objectstorage.fixtures import ObjectStorageFixture
|
from cloudroast.objectstorage.fixtures import ObjectStorageFixture
|
||||||
from cloudcafe.common.tools import randomstring as randstring
|
from cloudcafe.common.tools import randomstring as randstring
|
||||||
|
|
||||||
CONTENT_TYPE_TEXT = 'text/plain; charset=UTF-8'
|
CONTENT_TYPE_TEXT = 'text/plain; charset=UTF-8'
|
@ -17,7 +17,7 @@ import calendar
|
|||||||
import time
|
import time
|
||||||
import zlib
|
import zlib
|
||||||
|
|
||||||
from test_repo.objectstorage.fixtures import ObjectStorageFixture
|
from cloudroast.objectstorage.fixtures import ObjectStorageFixture
|
||||||
from cloudcafe.common.tools import md5hash
|
from cloudcafe.common.tools import md5hash
|
||||||
from cloudcafe.common.tools import randomstring
|
from cloudcafe.common.tools import randomstring
|
||||||
|
|
@ -13,7 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
"""
|
"""
|
||||||
from test_repo.objectstorage.fixtures import ObjectStorageFixture
|
from cloudroast.objectstorage.fixtures import ObjectStorageFixture
|
||||||
|
|
||||||
|
|
||||||
class QuickTest(ObjectStorageFixture):
|
class QuickTest(ObjectStorageFixture):
|
9
setup.py
9
setup.py
@ -17,8 +17,7 @@ limitations under the License.
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import test_repo
|
import cloudroast
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
except ImportError:
|
except ImportError:
|
||||||
@ -31,8 +30,8 @@ if sys.argv[-1] == 'publish':
|
|||||||
requires = open('pip-requires').readlines()
|
requires = open('pip-requires').readlines()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='test_repo',
|
name='cloudroast',
|
||||||
version=test_repo.__version__,
|
version=cloudroast.__version__,
|
||||||
description='CloudCAFE based automated test repository for OpenStack',
|
description='CloudCAFE based automated test repository for OpenStack',
|
||||||
long_description='{0}\n\n{1}'.format(
|
long_description='{0}\n\n{1}'.format(
|
||||||
open('README.md').read(),
|
open('README.md').read(),
|
||||||
@ -42,7 +41,7 @@ setup(
|
|||||||
url='http://rackspace.com',
|
url='http://rackspace.com',
|
||||||
packages=find_packages(exclude=[]),
|
packages=find_packages(exclude=[]),
|
||||||
package_data={'': ['LICENSE', 'NOTICE']},
|
package_data={'': ['LICENSE', 'NOTICE']},
|
||||||
package_dir={'test_repo': 'test_repo'},
|
package_dir={'cloudroast': 'cloudroast'},
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=requires,
|
install_requires=requires,
|
||||||
license=open('LICENSE').read(),
|
license=open('LICENSE').read(),
|
||||||
|
Loading…
Reference in New Issue
Block a user