(self)
| 305 | class TestUpdateSecret(BlockingTestCaseBase): |
| 306 | |
| 307 | def test(self): |
| 308 | connection = self._connect() |
| 309 | channel = connection.channel() |
| 310 | |
| 311 | # Update secret |
| 312 | connection.update_secret("new_secret", "reason") |
| 313 | |
| 314 | # Now check is_open/is_closed on channel and connection |
| 315 | self.assertTrue(channel.is_open) |
| 316 | self.assertFalse(channel.is_closed) |
| 317 | self.assertTrue(connection.is_open) |
| 318 | self.assertFalse(connection.is_closed) |
| 319 | |
| 320 | |
| 321 | class TestUpdateSecretOnClosedRaisesWrongState(BlockingTestCaseBase): |
nothing calls this directly
no test coverage detected