@@ -25,18 +25,6 @@ def test_articles_list(client):
25
25
assert hasattr (response , 'results' )
26
26
assert isinstance (response .results , list )
27
27
28
- @pytest .mark .skip
29
- def test_articles_retrieve (client ):
30
- articles_response = client .knowledgebase .articles .list (page_size = 1 )
31
-
32
- assert articles_response .results , "No articles available to test retrieve"
33
-
34
- article_id = articles_response .results [0 ].id
35
- article = client .knowledgebase .articles .retrieve (id = article_id )
36
-
37
- assert article is not None
38
- assert article .id == article_id
39
-
40
28
def test_articles_list_with_expand_author (client ):
41
29
response = client .knowledgebase .articles .list (expand = ArticlesListRequestExpand .AUTHOR )
42
30
assert response is not None
@@ -55,26 +43,6 @@ def test_articles_list_with_expand_permissions(client):
55
43
assert hasattr (response , 'results' )
56
44
assert isinstance (response .results , list )
57
45
58
- @pytest .mark .skip
59
- def test_articles_retrieve_with_expand_author (client ):
60
- articles_response = client .knowledgebase .articles .list (page_size = 1 )
61
-
62
- if articles_response .results :
63
- article_id = articles_response .results [0 ].id
64
- article = client .knowledgebase .articles .retrieve (id = article_id , expand = ArticlesRetrieveRequestExpand .AUTHOR )
65
- assert article is not None
66
- assert article .id == article_id
67
-
68
- @pytest .mark .skip
69
- def test_articles_retrieve_with_expand_attachments (client ):
70
- articles_response = client .knowledgebase .articles .list (page_size = 1 )
71
-
72
- if articles_response .results :
73
- article_id = articles_response .results [0 ].id
74
- article = client .knowledgebase .articles .retrieve (id = article_id , expand = ArticlesRetrieveRequestExpand .ATTACHMENTS )
75
- assert article is not None
76
- assert article .id == article_id
77
-
78
46
def test_attachments_list (client ):
79
47
response = client .knowledgebase .attachments .list ()
80
48
assert response is not None
@@ -180,26 +148,6 @@ def test_groups_list_with_expand_parent_group(client):
180
148
assert hasattr (response , 'results' )
181
149
assert isinstance (response .results , list )
182
150
183
- @pytest .mark .skip
184
- def test_groups_retrieve_with_expand_users (client ):
185
- groups_response = client .knowledgebase .groups .list (page_size = 1 )
186
-
187
- if groups_response .results :
188
- group_id = groups_response .results [0 ].id
189
- group = client .knowledgebase .groups .retrieve (id = group_id , expand = GroupsRetrieveRequestExpand .USERS )
190
- assert group is not None
191
- assert group .id == group_id
192
-
193
- @pytest .mark .skip
194
- def test_groups_retrieve_with_expand_parent_group (client ):
195
- groups_response = client .knowledgebase .groups .list (page_size = 1 )
196
-
197
- if groups_response .results :
198
- group_id = groups_response .results [0 ].id
199
- group = client .knowledgebase .groups .retrieve (id = group_id , expand = GroupsRetrieveRequestExpand .PARENT_GROUP )
200
- assert group is not None
201
- assert group .id == group_id
202
-
203
151
def test_audit_trail_list (client ):
204
152
response = client .knowledgebase .audit_trail .list ()
205
153
assert response is not None
0 commit comments