mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Another attempt at making the Quantifiedcode happy.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user