mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-19 00:46:08 +00:00
Code Cleanup
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import shutil
|
||||
import tempfile
|
||||
import unittest
|
||||
import os
|
||||
import sqlite3
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user