51Degrees Pipeline for Python

tests.test_javascriptbuilder_sequence Namespace Reference

Detailed Description

The script must parse whatever the pipeline holds. The sequence is written
into the script as bare code and the session id inside quotes, and a pipeline
built without a SequenceElement, for example from a configuration file that
does not list one, passes the query string's values, or nothing at all,
straight to the builder.

The script is checked with "node --check", which needs Node on the path.
Every GitHub hosted runner has it.

Classes

class  JavaScriptBuilderSequenceTests

Functions

 _render (evidence=None, minify=False, sequence_element=False)
 _line (script, name)

Variables

 NODE = shutil.which("node")

Function Documentation

◆ _line()

_line ( script,
name )
protected

◆ _render()

_render ( evidence = None,
minify = False,
sequence_element = False )
protected
Render the script. With sequence_element False the pipeline has only
the JSON bundler and the JavaScript builder.

Variable Documentation

◆ NODE

tests.test_javascriptbuilder_sequence.NODE = shutil.which("node")