cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburwell <...@git.apache.org>
Subject [GitHub] cloudstack pull request #1884: CLOUDSTACK-9699: Add global setting for enabl...
Date Fri, 06 Jan 2017 22:48:27 GMT
Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1884#discussion_r95033188
  
    --- Diff: test/integration/smoke/test_global_settings.py ---
    @@ -63,6 +63,33 @@ def test_UpdateConfigParamWithScope(self):
             self.assertEqual(configParam.value, updateConfigurationResponse.value, "Check
if the update API returned \
                              is the same as the one we got in the list API")
     
    +    @attr(tags=["devcloud", "basic", "advanced"], required_hardware="false")
    +    def test_list_capabilities(self):
    +        """
    +        @summary: Test List Capabilities
    +        @Steps
    +        Step1: Listing all the Capabilities for a user
    +        Step2: Verifying the listcapabilities object is not null
    +        Step3: Verifying enable.metrics.ui is not null
    +        """
    +        # Listing all the Capabilities for a user
    +
    +        listCapabilities = Configurations.listCapabilities(self.apiClient)
    +        # Verifying the listcapabilities object is not null
    +        self.assertIsNotNone(
    +                listCapabilities,
    +                "Failed to list Capabilities"
    +        )
    +
    +        # Verifying enable.metrics.ui is not null
    +        self.assertIsNotNone(
    +                listCapabilities.enablemetricsui,
    +                "Failed to fetch enable.metrics.ui"
    +        )
    --- End diff --
    
    Please add tests to verify that the value is set as expected.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message