Skip to content

Commit 1e01e3e

Browse files
committed
import json at the top
1 parent aa8a87f commit 1e01e3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit_tests/client/test_rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import json
12
import uuid
23
from pathlib import Path
34
from unittest.mock import MagicMock, Mock, patch
@@ -107,7 +108,6 @@ def test_create_task_exceptions(
107108
response = Mock(spec=requests.Response)
108109
response.status_code = code
109110
response.text = content
110-
import json
111111

112112
response.json.side_effect = lambda: json.loads(content) if content else None
113113
err = _create_task_exceptions(response)

0 commit comments

Comments
 (0)