From 7bf5cbc8c6e165809049c5bbe443667cf86cd21f Mon Sep 17 00:00:00 2001 From: rbowden-r7 Date: Mon, 30 Oct 2023 19:00:45 +0000 Subject: [PATCH] PLGN-405-Bumping version of validators and making changes to unit tests to reflect changes --- plugins/extractit/requirements.txt | 2 +- .../unit_test/payloads/extract_all.json.resp | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/plugins/extractit/requirements.txt b/plugins/extractit/requirements.txt index 48080eb31e..1dfe4904c9 100755 --- a/plugins/extractit/requirements.txt +++ b/plugins/extractit/requirements.txt @@ -3,7 +3,7 @@ # See: https://pip.pypa.io/en/stable/user_guide/#requirements-files tldextract==3.4.4 regex==2023.8.8 -validators==0.20.0 +validators==0.22.0 pdfplumber==0.10.2 openpyxl==3.1.2 parameterized==0.8.1 diff --git a/plugins/extractit/unit_test/payloads/extract_all.json.resp b/plugins/extractit/unit_test/payloads/extract_all.json.resp index 3e23d02362..3c98834588 100644 --- a/plugins/extractit/unit_test/payloads/extract_all.json.resp +++ b/plugins/extractit/unit_test/payloads/extract_all.json.resp @@ -23,8 +23,7 @@ "fgywegkwehfgb.skbfgkgvc" ], "email_addresses": [ - "dvfngfdsfgghgtest@user.com", - "dgsfsdfghcvhdgfhkdhhefrhwfjhfmhtest@usere.com123e4567-e89b-12d3-a456-426614174000" + "dvfngfdsfgghgtest@user.com" ], "filepaths": [ "/test/usersc/test/users/fdfgsefrjefgjhyv/eyrtewgjg/grug" @@ -91,8 +90,7 @@ "fgywegkwehfgb.skbfgkgvc" ], "email_addresses": [ - "dvfngfdsfgghgtest@user.com", - "dgsfsdfghcvhdgfhkdhhefrhwfjhfmhtest@usere.com123e4567-e89b-12d3-a456-426614174000" + "dvfngfdsfgghgtest@user.com" ], "filepaths": [ "/test/usersc/test/users/fdfgsefrjefgjhyv/eyrtewgjg/grug" @@ -158,8 +156,7 @@ "fgywegkwehfgb.skbfgkgvc" ], "email_addresses": [ - "dvfngfdsfgghgtest@user.com", - "dgsfsdfghcvhdgfhkdhhefrhwfjhfmhtest@usere.com123e4567-e89b-12d3-a456-426614174000" + "dvfngfdsfgghgtest@user.com" ], "filepaths": [ "/test/usersc/test/users/fdfgsefrjefgjhyv/eyrtewgjg/grug" @@ -225,8 +222,7 @@ "fgywegkwehfgb.skbfgkgvc" ], "email_addresses": [ - "dvfngfdsfgghgtest@user.com", - "dgsfsdfghcvhdgfhkdhhefrhwfjhfmhtest@usere.com123e4567-e89b-12d3-a456-426614174000" + "dvfngfdsfgghgtest@user.com" ], "filepaths": [ "/test/usersc/test/users/fdfgsefrjefgjhyv/eyrtewgjg/grug"