Unity 8
 All Classes Functions
unity8.fixture_setup.LaunchDashApp Class Reference

Inherits Fixture.

Public Member Functions

def __init__
 
def setUp
 
def launch_application
 
def stop_application
 

Public Attributes

 binary_path
 
 variables
 
 application_proxy
 

Detailed Description

Fixture to launch the Dash app.

Definition at line 27 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 31 of file fixture_setup.py.

31 
32  def __init__(self, binary_path, variables):
33  """Initialize an instance.
34 
35  :param str binary_path: The path to the Dash app binary.
36  :param variables: The variables to use when launching the app.
37  :type variables: A dictionary.
38 
39  """
40  super(LaunchDashApp, self).__init__()
41  self.binary_path = binary_path
42  self.variables = variables

Member Function Documentation

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

Definition at line 43 of file fixture_setup.py.

43 
44  def setUp(self):
45  """Launch the dash app when the fixture is used."""
46  super(LaunchDashApp, self).setUp()
47  self.addCleanup(self.stop_application)

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