Better response variable name db_changed -> report_success
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 16 Jul 2024 12:54:06 +0000 (07:54 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 16 Jul 2024 12:54:06 +0000 (07:54 -0500)
tests/views/test_upload.py

index 9eb8c523ff4f535979149480a0a0604ba5170754..c227250e8cad49f992237e9dbf26ee28ad1855af 100644 (file)
@@ -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}