test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
testing_classes.shell_tests Class Reference
Inheritance diagram for testing_classes.shell_tests:

Public Member Functions

def setUp
 
def tearDown
 
def test_init_shell
 

Public Attributes

 connection
 

Detailed Description

Definition at line 253 of file testing_classes.py.

Member Function Documentation

def testing_classes.shell_tests.setUp (   self)

Definition at line 255 of file testing_classes.py.

256  def setUp(self):
257  connection_data = {"db_alias" : "orapro", "host" : "oracle", "schema" : "cms_conditions", "secrets" : secrets_file}
258  self.connection = querying.connect(connection_data)
def connect
Definition: querying.py:352
def testing_classes.shell_tests.tearDown (   self)

Definition at line 264 of file testing_classes.py.

265  def tearDown(self):
266  self.connection.close_session()
def testing_classes.shell_tests.test_init_shell (   self)

Definition at line 259 of file testing_classes.py.

References shell.connect().

260  def test_init_shell(self):
261  connection_data = {"db_alias" : "orapro", "host" : "oracle", "schema" : "cms_conditions", "secrets" : secrets_file}
262  connection = shell.connect(connection_data)
263  self.assertTrue(connection != None)
def connect
Definition: shell.py:10

Member Data Documentation

testing_classes.shell_tests.connection

Definition at line 257 of file testing_classes.py.