(self)
| 34 | class test_session_cleanup: |
| 35 | |
| 36 | def test_context(self): |
| 37 | session = Mock(name='session') |
| 38 | with session_cleanup(session): |
| 39 | pass |
| 40 | session.close.assert_called_with() |
| 41 | |
| 42 | def test_context_raises(self): |
| 43 | session = Mock(name='session') |
nothing calls this directly
no test coverage detected