Fix import order and style

This commit is contained in:
guerler
2017-11-18 15:44:16 -05:00
parent 6e2285d3f2
commit 33eb15b63c
2 changed files with 25 additions and 7 deletions
@@ -28,11 +28,27 @@ from galaxy.util import (
)
from galaxy.util.sanitize_html import sanitize_html
from galaxy.web import error, url_for
from galaxy.web.base.controller import BaseUIController, SharableMixin, UsesStoredWorkflowMixin
from galaxy.web.framework.helpers import grids, time_ago
from galaxy.workflow.extract import extract_workflow, summarize
from galaxy.workflow.modules import module_factory, WorkflowModuleInjector
from galaxy.workflow.render import WorkflowCanvas, STANDALONE_SVG_TEMPLATE
from galaxy.web.base.controller import (
BaseUIController,
SharableMixin,
UsesStoredWorkflowMixin
)
from galaxy.web.framework.helpers import (
grids,
time_ago,
)
from galaxy.workflow.extract import (
extract_workflow,
summarize
)
from galaxy.workflow.modules import (
module_factory,
WorkflowModuleInjector
)
from galaxy.workflow.render import (
STANDALONE_SVG_TEMPLATE,
WorkflowCanvas
)
from tool_shed.util import encoding_util
log = logging.getLogger(__name__)
+4 -2
View File
@@ -89,8 +89,10 @@ steps:
form_element = self.driver.find_element_by_css_selector("#submit")
name = name or self._get_random_name()
annotation = annotation or self._get_random_name()
self.driver.find_element_by_css_selector("[tour_id=workflow_name] input").setAttribute("value", name);
self.driver.find_element_by_css_selector("[tour_id=workflow_annotation] input").setAttribute("value", annotation);
el_name = self.driver.find_element_by_css_selector("[tour_id=workflow_name] input")
el_name.send_keys(name)
el_annotation = self.driver.find_element_by_css_selector("[tour_id=workflow_annotation] input")
el_annotation.send_keys(annotation);
self.click_submit(form_element)
@retry_assertion_during_transitions