Skip to content
Snippets Groups Projects
Commit d3df08a2 authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Fix the test for Python 3.5

parent c630e302
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -69,7 +69,7 @@ class ConnectionTests(unittest.TestCase):
self.handle.isexecuting.return_value = False
self.connection.used_by = None
self.connection.close()
self.handle.close.assertCalledOnce()
self.assertEqual(len(self.handle.close.mock_calls), 1)
 
def test_free_raises_when_busy(self):
self.handle.isexecuting.return_value = True
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment