Unity 8
unity8.fixture_setup.LaunchDashApp Class Reference

Inherits Fixture.

Public Member Functions

def __init__ (self, binary_path, variables)
 
def setUp (self)
 
def launch_application (self)
 
def stop_application (self)
 

Public Attributes

 binary_path
 
 variables
 
 application_proxy
 

Detailed Description

Fixture to launch the Dash app.

Definition at line 34 of file fixture_setup.py.

Constructor & Destructor Documentation

def unity8.fixture_setup.LaunchDashApp.__init__ (   self,
  binary_path,
  variables 
)
Initialize an instance.

:param str binary_path: The path to the Dash app binary.
:param variables: The variables to use when launching the app.
:type variables: A dictionary.

Definition at line 38 of file fixture_setup.py.

38  def __init__(self, binary_path, variables):
39  """Initialize an instance.
40 
41  :param str binary_path: The path to the Dash app binary.
42  :param variables: The variables to use when launching the app.
43  :type variables: A dictionary.
44 
45  """
46  super().__init__()
47  self.binary_path = binary_path
48  self.variables = variables
49 
def __init__(self, binary_path, variables)

Member Function Documentation

def unity8.fixture_setup.LaunchDashApp.setUp (   self)
Launch the dash app when the fixture is used.

Definition at line 50 of file fixture_setup.py.

50  def setUp(self):
51  """Launch the dash app when the fixture is used."""
52  super().setUp()
53  self.addCleanup(self.stop_application)
55 

The documentation for this class was generated from the following file: