Skip to content

Commit b3378ec

Browse files
committed
fix: 'attributes' and 'excludedAttributes' are mutually exclusive
1 parent 03bf192 commit b3378ec

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

tests/test_query.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def httpserver(httpserver, simple_user_payload):
5858

5959
httpserver.expect_request(
6060
"/Users/full-qs",
61-
query_string="attributes=userName&attributes=displayName&excludedAttributes=timezone&excludedAttributes=phoneNumbers&filter=userName%20Eq%20%22john%22&sortBy=userName&sortOrder=ascending&startIndex=1&count=10",
61+
query_string="attributes=userName&attributes=displayName&filter=userName%20Eq%20%22john%22&sortBy=userName&sortOrder=ascending&startIndex=1&count=10",
6262
method="GET",
6363
).respond_with_json(
6464
simple_user_payload("full-qs"),
@@ -194,10 +194,6 @@ def test_search_request_payload(runner, httpserver, simple_user_payload):
194194
"userName",
195195
"--attribute",
196196
"displayName",
197-
"--excluded-attribute",
198-
"timezone",
199-
"--excluded-attribute",
200-
"phoneNumbers",
201197
"--filter",
202198
'userName Eq "john"',
203199
"--sort-by",

tests/test_search.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ def test_search_request_payload(runner, httpserver, simple_user_payload):
6565
"userName",
6666
"--attribute",
6767
"displayName",
68-
"--excluded-attribute",
69-
"timezone",
70-
"--excluded-attribute",
71-
"phoneNumbers",
7268
"--filter",
7369
'userName Eq "john"',
7470
"--sort-by",

0 commit comments

Comments
 (0)