Code Cleanup

This commit is contained in:
Sudo-Ivan
2026-01-16 09:34:18 -06:00
parent 2342d62ce8
commit 2b854f7c5c
3 changed files with 2 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ class TestConcurrencyStress(unittest.TestCase):
# Assert no errors occurred in threads
if self.errors:
self.fail(f"Errors occurred in threads: \n" + "\n".join(self.errors))
self.fail("Errors occurred in threads: \n" + "\n".join(self.errors))
# Check if we ended up with the expected number of messages
total = self.db.provider.fetchone(
@@ -142,7 +142,7 @@ class TestConcurrencyStress(unittest.TestCase):
# Assert no errors occurred
if self.errors:
self.fail(f"Errors occurred in threads: \n" + "\n".join(self.errors))
self.fail("Errors occurred in threads: \n" + "\n".join(self.errors))
identities = manager.list_identities()
self.assertEqual(len(identities), 20, "Should have created 20 identities")

View File

@@ -1,7 +1,6 @@
import shutil
import tempfile
import unittest
import os
import sqlite3
from pathlib import Path

View File

@@ -3,7 +3,6 @@ import tempfile
import unittest
import os
import sqlite3
import math
import json
from pathlib import Path
from hypothesis import given, strategies as st, settings, HealthCheck