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

Commitb7cdcb7

Browse files
committed
Fix tests using enum
1 parent458e2b0 commitb7cdcb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎testgres/node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def dump(self,
810810
filename=None,
811811
dbname=None,
812812
username=None,
813-
format=DumpFormat.Plain):
813+
format=DumpFormat.Plain.value):
814814
"""
815815
Dump database into a file using pg_dump.
816816
NOTE: the file is not removed automatically.
@@ -826,7 +826,7 @@ def dump(self,
826826
"""
827827

828828
deftmpfile():
829-
ifformat==DumpFormat.Directory:
829+
ifformat==DumpFormat.Directory.value:
830830
fname=mkdtemp(prefix=TMP_DUMP)
831831
else:
832832
fd,fname=mkstemp(prefix=TMP_DUMP)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp