Esempio n. 1
0
    def test_disconnect(self):
        Connection.disconnect()

        connection_name_list = Connection.get_connection_name_list()
        connection_name = Connection.get_default_connection_name()

        self.assertEqual(['con'], connection_name_list)
        self.assertEqual(connection_name, 'con')
Esempio n. 2
0
 def tearDown(self):
     super(DocumentTest, self).tearDown()
     Connection.disconnect()
Esempio n. 3
0
 def tearDown(self):
     super(DocumentTest, self).tearDown()
     Connection.disconnect()