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


Python dashboard.Dashboard类代码示例

本文整理汇总了Python中cfme.services.dashboard.Dashboard的典型用法代码示例。如果您正苦于以下问题:Python Dashboard类的具体用法?Python Dashboard怎么用?Python Dashboard使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: test_pending_requests

def test_pending_requests(appliance, context):
    """Tests pending requests displayed on dashboard."""

    with appliance.context.use(context):
        appliance.server.login()
        dashboard = Dashboard(appliance)
        dashboard.pending_requests()
开发者ID:akarol,项目名称:cfme_tests,代码行数:7,代码来源:test_ssui_dashboard.py

示例2: test_denied_requests

def test_denied_requests(appliance, context):
    """Tests denied requests displayed on dashboard."""

    with appliance.context.use(context):
        appliance.server.login()
        dashboard = Dashboard(appliance)
        dashboard.denied_requests()
开发者ID:akarol,项目名称:cfme_tests,代码行数:7,代码来源:test_ssui_dashboard.py

示例3: test_retired_service

def test_retired_service(appliance, context):
    """Tests count of retired services(int) displayed on dashboard."""

    with appliance.context.use(context):
        appliance.server.login()
        dashboard = Dashboard(appliance)
        assert dashboard.retired_services() == dashboard.results()
开发者ID:akarol,项目名称:cfme_tests,代码行数:7,代码来源:test_ssui_dashboard.py

示例4: test_total_requests

def test_total_requests(appliance, context):
    """Tests total requests displayed."""

    with appliance.context.use(context):
        appliance.server.login()
        dashboard = Dashboard(appliance)
        dashboard.total_requests()
开发者ID:akarol,项目名称:cfme_tests,代码行数:7,代码来源:test_ssui_dashboard.py

示例5: test_current_service

def test_current_service(appliance, context):
    """Tests current services count displayed on dashboard."""

    with appliance.context.use(context):
        appliance.server.login()
        dashboard = Dashboard(appliance)
        assert dashboard.current_services() == dashboard.results()
开发者ID:akarol,项目名称:cfme_tests,代码行数:7,代码来源:test_ssui_dashboard.py

示例6: test_retiring_soon

def test_retiring_soon(appliance, context):
    """Tests retiring soon(int displayed) service count on dashboard."""

    with appliance.context.use(context):
        appliance.server.login()
        dashboard = Dashboard(appliance)
        assert dashboard.retiring_soon() == dashboard.results()
开发者ID:akarol,项目名称:cfme_tests,代码行数:7,代码来源:test_ssui_dashboard.py

示例7: test_total_services

def test_total_services(appliance, setup_provider, context, order_catalog_item_in_ops_ui):
    """Tests total services count displayed on dashboard."""

    with appliance.context.use(context):
        appliance.server.login()
        dashboard = Dashboard(appliance)
        assert dashboard.total_services() == dashboard.results()
开发者ID:akarol,项目名称:cfme_tests,代码行数:7,代码来源:test_ssui_dashboard.py

示例8: test_monthly_charges

def test_monthly_charges(appliance, setup_provider, context, order_service,
        run_service_chargeback_report):
    """Tests chargeback data"""
    with appliance.context.use(context):
        dashboard = Dashboard(appliance)
        monthly_charges = dashboard.monthly_charges()
        logger.info('Monthly charges is {}'.format(monthly_charges))
        assert monthly_charges != '$0'
开发者ID:lkhomenk,项目名称:integration_tests,代码行数:8,代码来源:test_ssui_dashboard.py

示例9: test_total_services

def test_total_services(appliance, setup_provider, context, order_service):
    """Tests total services count displayed on dashboard.

    Polarion:
        assignee: sshveta
        initialEstimate: 1/4h
    """

    with appliance.context.use(context):
        dashboard = Dashboard(appliance)
        assert dashboard.total_services() == dashboard.results()
开发者ID:mkoura,项目名称:cfme_tests,代码行数:11,代码来源:test_ssui_dashboard.py

示例10: test_denied_requests

def test_denied_requests(appliance, context):
    """Tests denied requests displayed on dashboard.

    Polarion:
        assignee: nansari
        casecomponent: SelfServiceUI
        initialEstimate: 1/4h
    """

    with appliance.context.use(context):
        dashboard = Dashboard(appliance)
        dashboard.denied_requests()
开发者ID:mkoura,项目名称:cfme_tests,代码行数:12,代码来源:test_ssui_dashboard.py

示例11: test_retired_service

def test_retired_service(appliance, context):
    """Tests count of retired services(int) displayed on dashboard.

    Polarion:
        assignee: nansari
        casecomponent: SelfServiceUI
        initialEstimate: 1/4h
    """

    with appliance.context.use(context):
        dashboard = Dashboard(appliance)
        assert dashboard.retired_services() == dashboard.results()
开发者ID:mkoura,项目名称:cfme_tests,代码行数:12,代码来源:test_ssui_dashboard.py

示例12: test_retiring_soon

def test_retiring_soon(appliance, context):
    """Tests retiring soon(int displayed) service count on dashboard.

    Polarion:
        assignee: nansari
        casecomponent: SelfServiceUI
        initialEstimate: 1/4h
    """

    with appliance.context.use(context):
        dashboard = Dashboard(appliance)
        assert dashboard.retiring_soon() == dashboard.results()
开发者ID:mkoura,项目名称:cfme_tests,代码行数:12,代码来源:test_ssui_dashboard.py

示例13: test_current_service

def test_current_service(appliance, context):
    """Tests current services count displayed on dashboard.

    Polarion:
        assignee: nansari
        casecomponent: SelfServiceUI
        initialEstimate: 1/4h
        tags: ssui
    """

    with appliance.context.use(context):
        dashboard = Dashboard(appliance)
        assert dashboard.current_services() == dashboard.results()
开发者ID:apagac,项目名称:cfme_tests,代码行数:13,代码来源:test_ssui_dashboard.py

示例14: test_monthly_charges

def test_monthly_charges(appliance, has_no_providers_modscope, setup_provider, context,
        order_service, run_service_chargeback_report):
    """Tests chargeback data

    Polarion:
        assignee: nachandr
        initialEstimate: 1/4h
    """
    with appliance.context.use(context):
        dashboard = Dashboard(appliance)
        monthly_charges = dashboard.monthly_charges()
        logger.info('Monthly charges is {}'.format(monthly_charges))
        assert monthly_charges != '$0'
开发者ID:mkoura,项目名称:cfme_tests,代码行数:13,代码来源:test_ssui_dashboard.py

示例15: test_pending_requests

def test_pending_requests(appliance, context):
    """Tests pending requests displayed on dashboard.

    Polarion:
        assignee: nansari
        casecomponent: SelfServiceUI
        initialEstimate: 1/4h
        tags: ssui
    """

    with appliance.context.use(context):
        dashboard = Dashboard(appliance)
        dashboard.pending_requests()
开发者ID:apagac,项目名称:cfme_tests,代码行数:13,代码来源:test_ssui_dashboard.py


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