当前位置: 首页>>代码示例>>Python>>正文


Python BaseTestCase.clear_nailgun_database方法代码示例

本文整理汇总了Python中tests.base.BaseTestCase.clear_nailgun_database方法的典型用法代码示例。如果您正苦于以下问题:Python BaseTestCase.clear_nailgun_database方法的具体用法?Python BaseTestCase.clear_nailgun_database怎么用?Python BaseTestCase.clear_nailgun_database使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在tests.base.BaseTestCase的用法示例。


在下文中一共展示了BaseTestCase.clear_nailgun_database方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
    def setUp(self):
        """Each test precondition

        Steps:
            1. Click on create environment
        """
        BaseTestCase.clear_nailgun_database()
        BaseTestCase.setUp(self)
        Environments().create_cluster_box.click()
开发者ID:Fiware,项目名称:ops.Fuel-main-dev,代码行数:11,代码来源:test_env_wizard.py

示例2: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
    def setUp(self):
        """Each test precondition

        Steps:
            1. Create environment with default values
            2. Open created environment
            3. Open actions tab
        """
        BaseTestCase.clear_nailgun_database()
        preconditions.Environment.simple_flat()
        Tabs().actions.click()
开发者ID:Fiware,项目名称:ops.Fuel-main-dev,代码行数:13,代码来源:test_environment_actions.py

示例3: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
    def setUp(self):
        """Each test precondition

        Steps:
            1. Open Support page
        """
        BaseTestCase.clear_nailgun_database()
        BaseTestCase.setUp(self)
        time.sleep(1)
        Header().support.click()
        time.sleep(1)
开发者ID:Fiware,项目名称:ops.Fuel-main-dev,代码行数:13,代码来源:test_support.py

示例4: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
    def setUp(self):
        """Each test precondition

        Steps:
            1. Create simple environment with default values
            2. Click on created environment
        """
        BaseTestCase.clear_nailgun_database()
        BaseTestCase.setUp(self)
        preconditions.Environment.simple_flat()
        time.sleep(1)
开发者ID:Fiware,项目名称:ops.Fuel-main-dev,代码行数:13,代码来源:test_deploy.py

示例5: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
    def setUp(self):
        """Each test precondition

        Steps:
            1. Create simple environment with default values
            2. Click on created environment
            3. Deploy environment with 1 controller and 2 compute nodes
        """
        BaseTestCase.clear_nailgun_database()
        BaseTestCase.setUp(self)
        preconditions.Environment.simple_flat()
        time.sleep(1)
        preconditions.Environment().deploy_nodes(1, 2)
开发者ID:Fiware,项目名称:ops.Fuel-main-dev,代码行数:15,代码来源:test_discard_changes.py

示例6: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
    def setUp(self):
        BaseTestCase.clear_nailgun_database()
        BaseTestCase.setUp(self)

        preconditions.Environment.simple_flat()
        Environments().create_cluster_boxes[0].click()
        Nodes().add_nodes.click()
        Nodes().nodes_discovered[0].checkbox.click()
        RolesPanel().controller.click()
        Nodes().apply_changes.click()
        time.sleep(1)
        Nodes().nodes[0].details.click()
        NodeInfo().edit_networks.click()
开发者ID:piousbox,项目名称:fuel-main,代码行数:15,代码来源:test_configure_networks.py

示例7: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
    def setUp(self):
        """Each test precondition

        Steps:
            1. Create simple environment with default values
            2. Click on created environment and open Networks tab
        """
        BaseTestCase.clear_nailgun_database()
        BaseTestCase.setUp(self)
        preconditions.Environment.simple_flat()
        Environments().create_cluster_boxes[0].click()
        Tabs().networks.click()
        time.sleep(1)
开发者ID:Axam,项目名称:fuel-main,代码行数:15,代码来源:test_networks.py

示例8: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
    def setUp(self):
        """Each test precondition

        Steps:
            1. Create simple environment with default values
            2. Click on created simple environment
            2. Click 'Add nodes'
        """
        BaseTestCase.clear_nailgun_database()
        preconditions.Environment.simple_flat()
        BaseTestCase.setUp(self)
        Environments().create_cluster_boxes[0].click()
        time.sleep(1)
        Nodes().add_nodes.click()
        time.sleep(1)
开发者ID:Axam,项目名称:fuel-main,代码行数:17,代码来源:test_adding_nodes.py

示例9: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
    def setUp(self):
        """Each test precondition

        Steps:
            1. Create environment with Neutron gre
            2. Open created environment
            3. Add controller node
            4. Open interface configuration of the node
        """
        BaseTestCase.clear_nailgun_database()
        BaseTestCase.setUp(self)
        preconditions.Environment.simple_neutron_gre()
        PageObject.click_element(Nodes(), 'add_nodes')
        PageObject.click_element(Nodes(), 'nodes_discovered', 'checkbox', 0)
        RolesPanel().controller.click()
        Nodes().apply_changes.click()
        PageObject.wait_until_exists(Nodes().apply_changes)
        Nodes().nodes[0].details.click()
        NodeInfo().edit_networks.click()
开发者ID:Fiware,项目名称:ops.Fuel-main-dev,代码行数:21,代码来源:test_configure_networks.py

示例10: setUp

# 需要导入模块: from tests.base import BaseTestCase [as 别名]
# 或者: from tests.base.BaseTestCase import clear_nailgun_database [as 别名]
 def setUp(self):
     BaseTestCase.clear_nailgun_database()
     BaseTestCase.setUp(self)
     Header().releases.click()
开发者ID:Axam,项目名称:fuel-main,代码行数:6,代码来源:test_releases.py


注:本文中的tests.base.BaseTestCase.clear_nailgun_database方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。