Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fce595a

Browse files
PostgresNode::pid is updated
Assert is added.
1 parent b5c4d7b commit fce595a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testgres/node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ def pid(self):
239239
continue
240240

241241
pid_s = lines[0]
242+
assert type(pid_s) == str # noqa: E721
242243
if len(pid_s) == 0:
243244
continue
244245

0 commit comments

Comments
 (0)