8000 RemoteOperations is update [private method names] · postgrespro/testgres@0058508 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0058508

Browse files
RemoteOperations is update [private method names]
1 parent 0da4c21 commit 0058508

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testgres/operations/remote_ops.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -640,10 +640,10 @@ def is_port_free(self, number: int) -> bool:
640640
assert type(error) == str # noqa: E721
641641

642642
if exit_status == 0:
643-
return __class__.helper__is_port_free__process_0(error)
643+
return __class__._is_port_free__process_0(error)
644644

645645
if exit_status == 1:
646-
return __class__.helper__is_port_free__process_1(error)
646+
return __class__._is_port_free__process_1(error)
647647

648648
errMsg = "nc returns an unknown result code: {0}".format(exit_status)
649649

@@ -656,13 +656,13 @@ def is_port_free(self, number: int) -> bool:
656656
)
657657

658658
@staticmethod
659-
def helper__is_port_free__process_0(error: str) -> bool:
659+
def _is_port_free__process_0(error: str) -> bool:
660660
assert type(error) == str # noqa: E721
661661
# TODO: check error message?
662662
return False
663663

664664
@staticmethod
665-
def helper__is_port_free__process_1(error: str) -> bool:
665+
def _is_port_free__process_1(error: str) -> bool:
666666
assert type(error) == str # noqa: E721
667667
# TODO: check error message?
668668
return True

0 commit comments

Comments
 (0)
0