Fix the Monasca API tempest tests

The Tempest Manager class must have changed and the service
argument apparently no longer exists. Instead, it was being set
as the scope which caused the catalog to not be retrieved

Change-Id: If934bac4e2cd833fe4e381c373218383354969ec
This commit is contained in:
Craig Bryant 2017-01-05 16:38:02 -07:00
parent 784ea2d3ab
commit 989c1df7cc

View File

@ -1,4 +1,4 @@
# (C) Copyright 2015 Hewlett Packard Enterprise Development Company LP # (C) Copyright 2015,2017 Hewlett Packard Enterprise Development LP
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may # Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain # not use this file except in compliance with the License. You may obtain
@ -18,6 +18,6 @@ from monasca_tempest_tests.services import monasca_client
class Manager(clients.Manager): class Manager(clients.Manager):
def __init__(self, credentials=None, service=None): def __init__(self, credentials=None):
super(Manager, self).__init__(credentials, service) super(Manager, self).__init__(credentials)
self.monasca_client = monasca_client.MonascaClient(self.auth_provider) self.monasca_client = monasca_client.MonascaClient(self.auth_provider)