We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 105d643 commit 07e5469Copy full SHA for 07e5469
qiita_db/test/test_sql_connection.py
@@ -11,6 +11,11 @@ def test_create_queue(self):
11
self.conn_handler.create_queue("toy_queue")
12
self.assertEqual(self.conn_handler.list_queues(), ["toy_queue"])
13
14
+ def test_close(self):
15
+ self.assertEqual(self.conn_handler._user_conn.closed, 0)
16
+ self.conn_handler.close()
17
+ self.assertNotEqual(self.conn_handler._user_conn.closed, 0)
18
+
19
def test_run_queue(self):
20
21
self.conn_handler.add_to_queue(
0 commit comments