Package tlib :: Package base :: Module DataInjector :: Class DataInjector |
[hide private]
[frames] | no frames]

# Class DataInjector

source code

    object --+
             |
            DataInjector

Helper class for parsing external data for data driven testing

Instance Methods | [hide private]
__init__(self) x.__init__(...) initializes x; see help(type(x)) for signature | source code
connect(self) | source code
closeConnect(self) Closes the connetion | source code
getTestData(self, table, limits=None) Retrieves all entries from db | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| db = ``{``'``cursor``'``:` None`,` `'``database``'``:` None`,` `'``db``'``:` None`,` `'``host``'``:` No`...``

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)

Class Variable Details | [hide private]

  ### db Value:
      {'cursor': None,
       'database': None,
       'db': None,
       'host': None,
       'password': None,
       'query': None,
       'results': None,
       'user': None}