Skip to content

Commit e108e88

Browse files
committed
Rename openvasd API class
Use a consistent naming.
1 parent e938209 commit e108e88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gvm/protocols/http/openvasd/openvasd1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from .vts import VtsAPI
2020

2121

22-
class OpenvasdHttpApiV1:
22+
class OpenvasdHttpAPIv1:
2323
"""
2424
High-level interface for accessing openvasd HTTP API v1 endpoints.
2525

tests/protocols/http/openvasd/test_openvasd1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import unittest
66
from unittest.mock import MagicMock, patch
77

8-
from gvm.protocols.http.openvasd.openvasd1 import OpenvasdHttpApiV1
8+
from gvm.protocols.http.openvasd.openvasd1 import OpenvasdHttpAPIv1
99

1010

1111
class TestOpenvasdHttpApiV1(unittest.TestCase):
@@ -14,7 +14,7 @@ def test_initializes_all_sub_apis(self, mock_crate_openvasd_client):
1414
mock_httpx_client = MagicMock()
1515
mock_crate_openvasd_client.return_value = mock_httpx_client
1616

17-
api = OpenvasdHttpApiV1(
17+
api = OpenvasdHttpAPIv1(
1818
host_name="localhost",
1919
port=3000,
2020
api_key="test-key",

0 commit comments

Comments
 (0)