Inherit CaseInsensitiveDict from urllib3 HTTPHeaderDict (#1302)

It might look like a hack, but the API is stable enough and didn't change in the past 3+ years.
This commit is contained in:
Alexander Kukushkin
2019-12-02 12:14:59 +01:00
committed by GitHub
parent 726ee46111
commit e1d569ad75
2 changed files with 9 additions and 19 deletions
+1 -1
View File
@@ -622,7 +622,7 @@ class TestPostgresql(BaseTestPostgresql):
config['synchronous_mode_strict'] = True
self.p.config.get_server_parameters(config)
self.p.config.set_synchronous_standby('foo')
self.p.config.get_server_parameters(config)
self.assertTrue(str(self.p.config.get_server_parameters(config)).startswith('{'))
@patch('time.sleep', Mock())
def test__wait_for_connection_close(self):