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

Lines changed: 6 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy