Beispiel #1
0
 def test_exit(self, _close):
     connection = BaseConnection(TEST_URL)
     connection.__exit__()
     _close.assert_called_with()
Beispiel #2
0
 def test_exit(self, _close):
     connection = BaseConnection(TEST_URL)
     connection.__exit__()
     _close.assert_called_with()