8000 [FIX] PostgresNode.__init__ must not test "os_ops.host" attribute. · postgrespro/testgres@13e71d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13e71d8

Browse files
[FIX] PostgresNode.__init__ must not test "os_ops.host" attribute.
- [del] assert hasattr(os_ops, "host") During this test we get another exception: <[AttributeError("'PostgresNode' object has no attribute '_port'") raised in repr()] PostgresNode object at 0x782b67d79dc0>
1 parent 30124f3 commit 13e71d8

File tree

1 file changed

+0
- file changed
+0
-2
lines changed

testgres/node.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,6 @@ def __init__(self,
193193
# basic
194194
self._name = name or generate_app_name()
195195

196-
assert hasattr(os_ops, "host")
197-
198196
if port is not None:
199197
assert type(port) == int # noqa: E721
200198
assert port_manager is None

0 commit comments

Comments
 (0)
0