From: Karl O. Pinc Date: Tue, 16 Jul 2024 12:54:06 +0000 (-0500) Subject: Better response variable name db_changed -> report_success X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=a3bd01572191c676f9537f12f3ed2ab15f1903f7;p=pgwui_upload_core Better response variable name db_changed -> report_success --- diff --git a/tests/views/test_upload.py b/tests/views/test_upload.py index 9eb8c52..c227250 100644 --- a/tests/views/test_upload.py +++ b/tests/views/test_upload.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018, 2019, 2020, 2021 The Meme Factory, Inc. +# Copyright (C) 2018, 2019, 2020, 2021, 2024 The Meme Factory, Inc. # http://www.karlpinc.com/ # This file is part of PGWUI_Upload_Core. @@ -39,7 +39,7 @@ pytestmark = pytest.mark.unittest # Constants CHANGED_RESPONSE = { 'db': 'somedb', - 'db_changed': True, + 'report_success': True, 'filename': 'file', 'lines': 5, 'null_rep': 'NULL', @@ -49,7 +49,7 @@ CHANGED_RESPONSE = { 'user': 'someuser', } -UNCHANGED_RESPONSE = {'db_changed': False} +UNCHANGED_RESPONSE = {'report_success': False} # A "upload form" UPLOAD_FORM_W_LIT_CHECKED = {'literal_col_headings': True}