Skip to content

Commit 4eef46b

Browse files
committed
Fix imports for move of http module
1 parent cf62121 commit 4eef46b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/protocols/http/core/test_connector.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from httpx import HTTPError
1313

1414
from gvm.protocols.http.core.connector import HttpApiConnector
15-
from gvm.protocols.http.core import ContentType
15+
from gvm.protocols.http.core.headers import ContentType
1616

1717
TEST_JSON_HEADERS = {
1818
"content-type": "application/json;charset=utf-8",

tests/protocols/http/core/test_headers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import unittest
66

7-
from gvm.protocols.http.core import ContentType
7+
from gvm.protocols.http.core.headers import ContentType
88

99

1010
class ContentTypeTestCase(unittest.TestCase):

0 commit comments

Comments
 (0)