Another attempt at making the Quantifiedcode happy.

This commit is contained in:
Oleksii Kliukin
2016-01-26 16:22:28 +01:00
parent c9de062ef5
commit 72d30974ad
+1 -2
View File
@@ -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)