Add forgotten mock to the test_ha.py

This commit is contained in:
Alexander Kukushkin
2016-03-15 16:40:55 +01:00
parent 0e0c8ed8d7
commit 8a7d2b53e0
+1
View File
@@ -77,6 +77,7 @@ def run_async(func, args=()):
@patch.object(Postgresql, 'query', Mock())
@patch.object(Postgresql, 'checkpoint', Mock())
@patch.object(etcd.Client, 'write', etcd_write)
@patch.object(etcd.Client, 'read', etcd_read)
@patch.object(etcd.Client, 'delete', Mock(side_effect=etcd.EtcdException))
@patch('subprocess.call', Mock(return_value=0))
class TestHa(unittest.TestCase):