From 66f4f790d28487e68aa1d7991af77bf472a1bb9f Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Wed, 15 Jul 2015 12:49:17 +0200 Subject: [PATCH] Improve test coverage --- tests/test_postgresql.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_postgresql.py b/tests/test_postgresql.py index cb2d09a6..30041675 100644 --- a/tests/test_postgresql.py +++ b/tests/test_postgresql.py @@ -153,6 +153,12 @@ class TestPostgresql(unittest.TestCase): self.p.follow_the_leader(self.leader) self.p.follow_the_leader(self.other) + def test_create_connection_users(self): + cfg = self.p.config + cfg['superuser']['username'] = 'test' + p = Postgresql(cfg) + p.create_connection_users() + def test_create_replication_slots(self): self.p.start() cluster = Cluster(True, self.leader, 0, [self.me, self.other, self.leader])