We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 163db09 commit 678a9cbCopy full SHA for 678a9cb
tests/posit/connect/test_content.py
@@ -405,6 +405,23 @@ def test_get_with_include_list(self):
405
# assert
406
assert mock_get.call_count == 1
407
408
+ @responses.activate
409
+ def test_get_with_include_none(self):
410
+ guid = "f2f37341-e21d-3d80-c698-a935ad614066"
411
+ mock_get = responses.get(
412
+ f"https://connect.example/__api__/v1/content/{guid}",
413
+ json=load_mock(f"v1/content/{guid}.json"),
414
+ match=[matchers.query_param_matcher({})],
415
+ )
416
+
417
+ con = Client("https://connect.example", "12345")
418
+ content = con.content.get(guid, include=None)
419
+ assert content["guid"] == guid
420
421
+ # assert
422
+ assert mock_get.call_count == 1
423
424
425
class TestContentsCount:
426
@responses.activate
427
def test(self):
0 commit comments