Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0058508

Browse files
RemoteOperations is update [private method names]
1 parent0da4c21 commit0058508

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
asserttype(error)==str# noqa: E721
641641

642642
ifexit_status==0:
643-
return__class__.helper__is_port_free__process_0(error)
643+
return__class__._is_port_free__process_0(error)
644644

645645
ifexit_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-
defhelper__is_port_free__process_0(error:str)->bool:
659+
def_is_port_free__process_0(error:str)->bool:
660660
asserttype(error)==str# noqa: E721
661661
# TODO: check error message?
662662
returnFalse
663663

664664
@staticmethod
665-
defhelper__is_port_free__process_1(error:str)->bool:
665+
def_is_port_free__process_1(error:str)->bool:
666666
asserttype(error)==str# noqa: E721
667667
# TODO: check error message?
668668
returnTrue

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp