mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 09:45:23 +02:00
Clarification in comments for Unit Test bandaid
This commit is contained in:
parent
ea043bf504
commit
0ac1989a04
1 changed files with 3 additions and 1 deletions
|
@ -591,7 +591,9 @@ class OtherContactsForm(RegistrarForm):
|
|||
cleaned = super().clean()
|
||||
form_is_empty = all(v is None or v == "" for v in cleaned.values())
|
||||
|
||||
# NOTE: Phone number and email do NOT show up in cleaned values.
|
||||
# ==== UNIT TEST BANDAID ====
|
||||
# NOTE: Phone number and email do NOT show up in cleaned values
|
||||
# This is for UNIT TESTS only. The page itself loads cleaned data just fine.
|
||||
# I have spent hours tyring to figure out why, but have no idea...
|
||||
# so for now we will grab their values from the raw data...
|
||||
for i in self.data:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue