Skip to content

Commit 163db09

Browse files
committed
Restore accidentally deleted test from TestContentsFind
1 parent 06ca4d6 commit 163db09

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tests/posit/connect/test_content.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,23 @@ def test_params_include_list(self):
204204
# assert
205205
assert mock_get.call_count == 1
206206

207+
@responses.activate
208+
def test_params_include_none(self):
209+
# behavior
210+
mock_get = responses.get(
211+
"https://connect.example/__api__/v1/content",
212+
json=load_mock("v1/content.json"),
213+
match=[matchers.query_param_matcher({})],
214+
)
215+
216+
# setup
217+
client = Client("https://connect.example", "12345")
218+
219+
# invoke
220+
client.content.find(include=None)
221+
222+
# assert
223+
assert mock_get.call_count == 1
207224

208225
class TestContentsFindBy:
209226
@responses.activate

0 commit comments

Comments
 (0)