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 219 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 223 of file fixture_setup.py.

223  def __init__(self, binary_path, variables):
224  """Initialize an instance.
225 
226  :param str binary_path: The path to the Dash app binary.
227  :param variables: The variables to use when launching the app.
228  :type variables: A dictionary.
229 
230  """
231  super().__init__()
232  self.binary_path = binary_path
233  self.variables = variables
234 
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 235 of file fixture_setup.py.

235  def setUp(self):
236  """Launch the dash app when the fixture is used."""
237  super().setUp()
238  self.addCleanup(self.stop_application)
240 

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