From 72d30974ad2cdbbf11b332a437b369640c266bff Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Tue, 26 Jan 2016 16:22:28 +0100 Subject: [PATCH] Another attempt at making the Quantifiedcode happy. --- tests/test_wale_restore.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_wale_restore.py b/tests/test_wale_restore.py index e922a9db..aa834b96 100644 --- a/tests/test_wale_restore.py +++ b/tests/test_wale_restore.py @@ -92,7 +92,6 @@ class TestWALERestore(unittest.TestCase): with patch.object(self.wale_restore, 'create_replica_with_s3', MagicMock(return_value=0)): self.assertEqual(self.wale_restore.run(), 0) - @staticmethod def test_main(self): with patch('sys.exit', MagicMock(return_value=0)): - main() + self.assertEqual(main(), None)