Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(58)  |  Call(58)  |  Derive(0)  |  Import(0)

src/f/u/fuel-main-HEAD/fuelweb_ui_test/tests/test_networks.py   fuel-main(Download)
        def assert_on():
            with getattr(Networks(), network) as n:
                self.assertTrue(
                    n.vlan_tagging.
                    find_element_by_tag_name('input').is_selected(),
        def turn_on():
            with getattr(Networks(), network) as n:
                n.vlan_tagging.click()
                self.assertTrue(n.vlan_id.is_displayed(),
                                'vlan id input is visible')

src/f/u/fuel-main-HEAD/fuelweb_ui_test/tests/test_adding_nodes.py   fuel-main(Download)
            for node in n.nodes_discovered:
                self.assertTrue(
                    node.checkbox.find_element_by_tag_name('input').
                    is_enabled(),
                    'Node enabled')
            n.select_all.click()
            for selects in n.select_all_in_group:
                self.assertTrue(selects.is_selected(),
                                'Select all in group is selected')
            for node in n.nodes_discovered:
                self.assertTrue(
                    node.checkbox.find_element_by_tag_name('input').
                for node in group.nodes_discovered:
                    self.assertTrue(
                        node.checkbox.find_element_by_tag_name('input').
                        is_selected(),
                        'Discovered node is selected')
            self.assertTrue(
                n.select_all.is_selected(), '"Select all" is checked')

src/f/u/fuel-main-HEAD/fuelweb_ui_test/tests/test_configure_networks.py   fuel-main(Download)
                'Error message is displayed'
            )
            self.assertTrue(s.apply.is_enabled(), 'Apply enabled')
 
    def test_cancel_changes(self):
            s.interfaces[0].interface_checkbox.click()
            s.interfaces[1].interface_checkbox.click()
            self.assertTrue(s.bond_interfaces.is_enabled())
            s.bond_interfaces.click()
            s.interfaces[0].bond_mode

src/f/u/fuel-main-HEAD/fuelweb_ui_test/tests/test_env_wizard.py   fuel-main(Download)
            w.name.send_keys(OPENSTACK_RELEASE_REDHAT)
            w.release.select_by_visible_text(OPENSTACK_RELEASE_REDHAT)
            self.assertTrue(w.license_rhsm.is_displayed())
            self.assertTrue(w.license_rhn.is_displayed())
            self.assertTrue(w.redhat_username.is_displayed())
            self.assertTrue(w.redhat_password.is_displayed())
 
            w.license_rhn.click()
            self.assertTrue(w.redhat_satellite.is_displayed())

src/f/u/fuel-main-HEAD/fuelweb_ui_test/tests/test_configure_disks.py   fuel-main(Download)
            time.sleep(1)
            self.assertTrue(
                s.disks[0].details_panel.is_displayed(),
                'details panel is expanded')
 
 
            self.assertTrue(
                Nodes().add_nodes.is_displayed(),
                'Backed to nodes page. Add Nodes button is displayed')
 

src/f/u/fuel-main-HEAD/fuelweb_ui_test/tests/test_support.py   fuel-main(Download)
        browser.driver.switch_to_window(browser.driver.window_handles.pop())
        self.assertTrue(
            browser.driver.find_element_by_css_selector(
                '[value="Register and Activate subscription"]').is_displayed(),
            '"Register and Activate subscription" is displayed')
            PageObject.wait_element(s, 'download_snapshot')
            self.assertTrue(
                s.download_snapshot.is_enabled(),
                '"Diagnostic Snapshot" is displayed')
 

src/f/u/fuel-main-HEAD/fuelweb_ui_test/tests/test_env_settings.py   fuel-main(Download)
                self.refresh()
            self.assertTrue(
                getattr(Settings(), radio).
                find_element_by_tag_name('input').is_selected())
        # Set group to not default state
            time.sleep(1)
            self.assertTrue(
                getattr(s, radios[-1]).
                find_element_by_tag_name('input').is_selected(),
                "load defaults value")

src/f/u/fuel-main-HEAD/fuelweb_ui_test/tests/test_environment.py   fuel-main(Download)
        Tabs().networks.click()
        with Networks() as n:
            self.assertTrue(n.flatdhcp_manager.
                            find_element_by_tag_name('input').is_selected())
        Tabs().settings.click()
            self.assertFalse(s.install_ceilometer.
                             find_element_by_tag_name('input').is_selected())
            self.assertTrue(s.hypervisor_qemu.
                            find_element_by_tag_name('input').is_selected())
        pass
 
        with Settings() as s:
            self.assertTrue(s.hypervisor_kvm.
                            find_element_by_tag_name('input').is_selected())
 
            self.assertEqual(n.segmentation_type.text,
                             'Neutron with gre segmentation')
            self.assertTrue(NeutronParameters().parent.is_displayed())
 
    def test_neutron_vlan(self):
            self.assertEqual(n.segmentation_type.text,
                             'Neutron with vlan segmentation')
            self.assertTrue(NeutronParameters().parent.is_displayed())
 
    def test_storage_ceph(self):

src/f/u/fuel-main-HEAD/fuelweb_ui_test/tests/test_environment_actions.py   fuel-main(Download)
                'pending addition', node.status.text.lower(),
                'Node status is Pending Addition')
        self.assertTrue(Nodes().deploy_changes.is_enabled())
 
    def test_cancel_reset(self):
                'pending addition', node.status.text.lower(),
                'Node status is Pending Addition')
        self.assertTrue(Nodes().deploy_changes.is_enabled())
 
    def test_reset_redeploy(self):
                'pending addition', node.status.text.lower(),
                'Node status is Pending Addition')
        self.assertTrue(Nodes().deploy_changes.is_enabled())
 
    def test_stop_reset(self):
                'pending addition', node.status.text.lower(),
                'Node status is Pending Addition')
        self.assertTrue(Nodes().deploy_changes.is_enabled())
 

src/f/u/fuel-web-HEAD/fuelclient/tests/test_client.py   fuel-web(Download)
    def check_if_files_created(self, command, paths):
        command_in_dir = "{0} --dir={1}".format(command, self.temp_directory)
        self.run_cli_command(command_in_dir)
        for path in paths:
            self.assertTrue(os.path.exists(

  1 | 2  Next