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

Commit322fb23

Browse files
RemoteOperations::is_port_free is updated
1 parent4a38b35 commit322fb23

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎testgres/operations/remote_ops.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ 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(output)
643+
return__class__.helper__is_port_free__process_0(error)
644644

645645
ifexit_status==1:
646646
return__class__.helper__is_port_free__process_1(error)
@@ -656,15 +656,15 @@ def is_port_free(self, number: int) -> bool:
656656
)
657657

658658
@staticmethod
659-
defhelper__is_port_free__process_0(output:str)->bool:
660-
asserttype(output)==str# noqa: E721
661-
# TODO: checkoutput message
659+
defhelper__is_port_free__process_0(error:str)->bool:
660+
asserttype(error)==str# noqa: E721
661+
# TODO: checkerror message?
662662
returnFalse
663663

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

670670
# Database control

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp