Skip to content

Commit 2fe70ba

Browse files
committed
@sanderegg review: doc
1 parent aef71a1 commit 2fe70ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/postgres-database/tests/test_models_projects_to_jobs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ def test_populate_projects_to_jobs_during_migration(
122122
),
123123
]
124124

125-
default_column_values = {
126-
# NOTE: not server_default values are not applied here!
125+
client_default_column_values = {
126+
# NOTE: columns with `server_default values` must not be added here
127127
"type": ProjectType.STANDARD.value,
128128
"workbench": {},
129129
"access_rights": {},
@@ -135,7 +135,7 @@ def test_populate_projects_to_jobs_during_migration(
135135
# NOTE: cannot use `projects` table directly here because it changes
136136
# throughout time
137137
for prj in projects_data:
138-
for key, value in default_column_values.items():
138+
for key, value in client_default_column_values.items():
139139
prj.setdefault(key, value)
140140

141141
for key, value in prj.items():

0 commit comments

Comments
 (0)