Fixes CI/CD errors

This commit is contained in:
Miroslav Štampar
2026-09-28 00:49:25 +02:00
parent 0974a0d859
commit 8473e2edc6
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ from lib.core.enums import OS
from thirdparty import six
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.10.9.27"
VERSION = "1.10.9.28"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
+3 -3
View File
@@ -381,7 +381,7 @@ class TestInteractshDNSServer(unittest.TestCase):
# draining its pending storage in a single /poll response
if names_batch:
batch = [{"protocol": "dns", "full-id": n, "unique-id": n} for n in names_batch]
names_batch.clear()
del names_batch[:]
return batch
return []
client.poll = poll
@@ -449,7 +449,7 @@ class TestInteractshDNSServer(unittest.TestCase):
# draining its pending storage in a single /poll response
if rec_batch:
batch = rec_batch[:]
rec_batch.clear()
del rec_batch[:]
return batch
return []
client.poll = poll
@@ -753,7 +753,7 @@ class TestInteractshHTTPRequests(unittest.TestCase):
# draining its pending storage in a single /poll response
if rec_batch:
batch = rec_batch[:]
rec_batch.clear()
del rec_batch[:]
return batch
return []
client.poll = poll