def test_eq(self): self.assertEquals(ODBCConfig(), ODBCConfig()) configA = ODBCConfig(data=self.simple_data) configB = ODBCConfig() configB.sources = {'testdb': self.ACCESS_CONFIGSTR} configB.source_specs = {'testdb': {'Database': 'testdb.mdb'}} self.assertEquals(configA, configB)
def test_eq(self): self.assertEquals(ODBCConfig(), ODBCConfig()) configA = ODBCConfig(data=self.simple_data) configB = ODBCConfig() configB.sources = {'testdb' : self.ACCESS_CONFIGSTR} configB.source_specs = {'testdb' : {'Database' : 'testdb.mdb'}} self.assertEquals(configA, configB)