Skip to content

Commit c9204a6

Browse files
timopollmeierbjoernricks
authored andcommitted
Adjust formatting
1 parent ca61549 commit c9204a6

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

tests/protocols/gmpv227/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010

1111
class GMPTestCase(BaseGMPTestCase):
12-
gmp_class = GMPv227
12+
gmp_class = GMPv227

tests/protocols/gmpv227/entities/scanners/test_create_scanner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def test_create_scanner_with_relay_host(self):
228228
b"<port>1234</port>"
229229
b"<type>6</type>"
230230
b'<credential id="c1"/>'
231-
b'<relay_host>localhost</relay_host>'
231+
b"<relay_host>localhost</relay_host>"
232232
b"</create_scanner>"
233233
)
234234

@@ -249,6 +249,6 @@ def test_create_scanner_with_relay_port(self):
249249
b"<port>1234</port>"
250250
b"<type>6</type>"
251251
b'<credential id="c1"/>'
252-
b'<relay_port>2345</relay_port>'
252+
b"<relay_port>2345</relay_port>"
253253
b"</create_scanner>"
254-
)
254+
)

tests/protocols/gmpv227/entities/scanners/test_modify_scanner.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ def test_modify_scanner_with_openvasd_type(self):
134134

135135
self.connection.send.has_been_called_with(
136136
b'<modify_scanner scanner_id="s1">'
137-
b'<type>6</type>'
138-
b'</modify_scanner>'
137+
b"<type>6</type>"
138+
b"</modify_scanner>"
139139
)
140140

141141
def test_modify_scanner_with_relay_host(self):
@@ -146,8 +146,8 @@ def test_modify_scanner_with_relay_host(self):
146146

147147
self.connection.send.has_been_called_with(
148148
b'<modify_scanner scanner_id="s1">'
149-
b'<relay_host>localhost</relay_host>'
150-
b'</modify_scanner>'
149+
b"<relay_host>localhost</relay_host>"
150+
b"</modify_scanner>"
151151
)
152152

153153
def test_modify_scanner_with_relay_port(self):
@@ -158,6 +158,6 @@ def test_modify_scanner_with_relay_port(self):
158158

159159
self.connection.send.has_been_called_with(
160160
b'<modify_scanner scanner_id="s1">'
161-
b'<relay_port>2345</relay_port>'
162-
b'</modify_scanner>'
161+
b"<relay_port>2345</relay_port>"
162+
b"</modify_scanner>"
163163
)

tests/protocols/gmpv227/entities/test_scanners.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ class GMPCreateScannerTestCase(GmpCreateScannerTestMixin, GMPTestCase):
3939

4040

4141
class GMPModifyScannerTestCase(GmpModifyScannerTestMixin, GMPTestCase):
42-
pass
42+
pass

0 commit comments

Comments
 (0)