mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 01:18:29 -04:00
Don’t let domains have none values
This commit is contained in:
@@ -403,11 +403,7 @@ def test_validate_government_domain_data():
|
||||
True, False, None
|
||||
}
|
||||
|
||||
assert (
|
||||
agreement_info.owner is None
|
||||
) or (
|
||||
isinstance(agreement_info.owner, str)
|
||||
)
|
||||
assert isinstance(agreement_info.owner, str) and agreement_info.owner.strip()
|
||||
|
||||
assert agreement_info.agreement_signed in {
|
||||
True, False, None
|
||||
|
||||
Reference in New Issue
Block a user