Skip to content

Commit

Permalink
Update test_analyzer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
omri374 authored Nov 11, 2024
1 parent 938bd68 commit 3579d73
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e-tests/tests/test_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,13 +550,14 @@ def test_given_allow_list_without_setting_allow_list_match_then_normal_entity_is

@pytest.mark.api
def test_given_regex_flags_and_normal_entities_are_returned():
# case sensitive flags are turned off, GitHub != github
request_body = """
{
"text": "email: [email protected]", # case sensitive
"text": "email: [email protected]",
"language": "en",
"allow_list": [".*@github.com"],
"allow_list_match": "regex",
"regex_flags": 0 # case insensitive flag is turned off
"regex_flags": 0
}
"""

Expand Down

0 comments on commit 3579d73

Please sign in to comment.