Skip to content

Commit b9b1d01

Browse files
committed
add test_custom_init()
1 parent 33c3b7b commit b9b1d01

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_simple.py

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929

3030

3131
class SimpleTest(unittest.TestCase):
32+
def test_custom_init(self):
33+
with get_new_node('test') as node:
34+
# enable page checksums
35+
node.init(initdb_params=['-k']).start()
36+
node.safe_psql('postgres', 'select 1')
37+
3238
def test_double_init(self):
3339
with get_new_node('test') as node:
3440
# can't initialize node more than once

0 commit comments

Comments
 (0)