We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8c75c1 commit abfb469Copy full SHA for abfb469
1 file changed
test/integration/component/test_project_resources.py
@@ -586,6 +586,11 @@ def setUpClass(cls):
586
cls.api_client,
587
cls.services["service_offering"]
588
)
589
+ cls.userapiclient = cls.testClient.getUserApiClient(
590
+ UserName=cls.account.name,
591
+ DomainName=cls.domain.name
592
+ )
593
+
594
cls._cleanup = [
595
cls.project,
596
cls.service_offering,
@@ -722,10 +727,9 @@ def test_05_use_private_template_in_project(self):
722
727
self.debug("Creating template from volume: %s" % volume.id)
723
728
# Create a template from the ROOTDISK
724
729
template_1 = Template.create(
725
- self.apiclient,
730
+ self.userapiclient,
726
731
self.services["template"],
- volumeid=volume.id,
- projectid=self.project.id
732
+ volumeid=volume.id
733
734
735
self.cleanup.append(template_1)
0 commit comments