From 555d7b867f86aefa34b7043a2b2ad5d817ae9328 Mon Sep 17 00:00:00 2001 From: Arthur Lutz Date: Thu, 23 Jul 2015 09:02:44 +0200 Subject: [PATCH] pylint fixes --- tests/unit/states/postgres_cluster_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/states/postgres_cluster_test.py b/tests/unit/states/postgres_cluster_test.py index 34b4938807..0c1d072787 100644 --- a/tests/unit/states/postgres_cluster_test.py +++ b/tests/unit/states/postgres_cluster_test.py @@ -75,13 +75,13 @@ class PostgresClusterTestCase(TestCase): }): comt = 'The cluster {0}/{1} has been created'.format(version, name) ret.update({'comment': comt, 'result': True, - 'changes': {'{0}/{1}'.format(version, name) : 'Present'} + 'changes': {'{0}/{1}'.format(version, name): 'Present'} }) self.assertDictEqual(postgres_cluster.present(version, name), ret) with patch.dict(postgres_cluster.__opts__, {'test': True}): comt = 'Cluster {0}/{1} is set to be created'.format(version, name) - ret.update({'comment': comt, 'result': None, 'changes':{}}) + ret.update({'comment': comt, 'result': None, 'changes': {}}) self.assertDictEqual(postgres_cluster.present(version, name), ret)