Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4839f62

Browse files
bump version after model merge (#4679)
* bump version after model merge * poetry update business model * updated unwanted chnage * based on the new schema , the quoted emails are invalid * trigger the build
1 parent 2eeefb6 commit 4839f62

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

legal-api/poetry.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

legal-api/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "legal-api"
3-
version = "3.1.9"
3+
version = "3.1.10"
44
description = ""
55
authors = [
66
{name = "thor",email = "[email protected]"}

legal-api/tests/unit/services/filings/validations/test_common_validations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,11 +1146,10 @@ def test_is_officer_proprietor_replace_valid(session, test_name, legal_type, exi
11461146
('[email protected]', True),
11471147
('user@[192.168.1.1]', True),
11481148
('[email protected]', True),
1149-
('"quoted"@example.com', True),
11501149
('[email protected]', True),
11511150
('[email protected]', True),
11521151
('john.o\'[email protected]', True),
1153-
# Invalid email formats
1152+
# Invalid email formats.
11541153
('no_one@never.', False),
11551154
('invalid', False),
11561155
('@invalid.com', False),
@@ -1160,6 +1159,7 @@ def test_is_officer_proprietor_replace_valid(session, test_name, legal_type, exi
11601159
('test @example.com', False),
11611160
('test@ example.com', False),
11621161
('test@@example.com', False),
1162+
('"quoted"@example.com', False),
11631163
])
11641164
def test_contact_point_email_format_via_schema(session, email, is_valid):
11651165
"""The contactPoint email format is enforced by the schema (the same EMAIL_PATTERN the API used).

legal-api/tests/unit/services/filings/validations/test_incorporation_application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1852,7 +1852,6 @@ def test_ia_phone_number_validation(session, should_pass, phone_number, extensio
18521852
(True, '[email protected]'),
18531853
(True, 'user@[192.168.1.1]'),
18541854
(True, '[email protected]'),
1855-
(True, '"quoted"@example.com'),
18561855
# Invalid email
18571856
(False, 'no_one@never.'),
18581857
(False, '@invalid.com'),
@@ -1861,6 +1860,7 @@ def test_ia_phone_number_validation(session, should_pass, phone_number, extensio
18611860
(False, 'test@domain'),
18621861
(False, 'test @example.com'),
18631862
(False, 'test@ example.com'),
1863+
(False, '"quoted"@example.com'),
18641864
])
18651865
def test_ia_email_validation(session, should_pass, email):
18661866
"""Test validate email format if provided."""

0 commit comments

Comments
 (0)