mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
return result of last_operation as a string
This commit is contained in:
@@ -174,4 +174,4 @@ class TestPostgresql(unittest.TestCase):
|
||||
self.assertTrue(self.p.promote())
|
||||
|
||||
def test_last_operation(self):
|
||||
self.assertEquals(self.p.last_operation(), 0)
|
||||
self.assertEquals(self.p.last_operation(), '0')
|
||||
|
||||
Reference in New Issue
Block a user