rdkit.Dbase.UnitTestDbConnect module — The RDKit 2016.09.1 documentation

# rdkit.Dbase.UnitTestDbConnect module

unit testing code for database connection objects

class `rdkit.Dbase.UnitTestDbConnect.` `TestCase`(methodName='runTest')

  Bases: `unittest.case.TestCase`

  `setUp`()
  `tearDown`()
  `testAddTable`()

    tests AddTable and GetTableNames functionalities

  `testCursor`()

    tests GetCursor and GetTableNames functionalities

  `testGetData1`()

    basic functionality

  `testGetData2`()

    using removeDups

  `testGetData3`()

    without removeDups

  `testGetData4`()

    non random access

  `testGetData5`()

    using a RandomAccessDbResultSet with a Transform

  `testGetData6`()

    using a DbResultSet with a Transform

  `test_GetTableNames`()
  `test_InsertColumnData`()

    tests InsertData and InsertColumnData functionalities

  `test_InsertData`()