Skip to content

Commit 7cdaf91

Browse files
committed
Merge branch 'KNO-606' of https://github.com/JupiterOne/jupiterone-api-client-python into KNO-606
2 parents 9a93211 + a8e952f commit 7cdaf91

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

examples/08_questions_management.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"""
1515

1616
import os
17-
import json
1817
import time
1918
from jupiterone import JupiterOneClient
2019

tests/test_create_question.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""Test create_question method"""
22

33
import pytest
4-
import responses
5-
from unittest.mock import Mock, patch
4+
from unittest.mock import patch
65
from jupiterone.client import JupiterOneClient
76
from jupiterone.constants import CREATE_QUESTION
87

@@ -415,7 +414,7 @@ def test_create_question_optional_fields_handling(self, mock_execute):
415414
}
416415

417416
# Create question with some None values
418-
result = self.client.create_question(
417+
self.client.create_question(
419418
title="Optional Fields Test",
420419
queries=[{"query": "FIND Host"}],
421420
description=None, # Should not be included

0 commit comments

Comments
 (0)