mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Improve tests (#778)
* Implement missing unit-tests * Add acceptance tests for ISSUE #776 * Update list of classifiers, keywords and authors
This commit is contained in:
@@ -70,6 +70,7 @@ class TestConfig(unittest.TestCase):
|
||||
self.assertRaises(Exception, config.reload_local_configuration, True)
|
||||
self.assertTrue(config.reload_local_configuration(True))
|
||||
self.assertTrue(config.reload_local_configuration())
|
||||
self.assertIsNone(config.reload_local_configuration())
|
||||
|
||||
@patch('tempfile.mkstemp', Mock(return_value=[3000, 'blabla']))
|
||||
@patch('os.path.exists', Mock(return_value=True))
|
||||
|
||||
Reference in New Issue
Block a user