Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
Update test/unittests/test_db.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
JarbasAl and coderabbitai[bot] authored Jul 16, 2024
1 parent da1f90b commit 535ae9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/unittests/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@ def test_search_nonexistent_entry(self):

def test_json_db_implementation(self):
with ClientDatabase(backend="json") as db:
name = f"HiveMind-Node-TestJson"
name = "HiveMind-Node-TestJson"
user = db.add_client(name, self.access_key, crypto_key=self.key, password=self.password)
self.assertTrue(isinstance(user, Client))
self.assertEqual(user.name, name)
self.assertEqual(user.api_key, self.access_key)

def test_delete_and_reuse_client_id(self):
with ClientDatabase() as db:
name = "TestNodeForDelete"
Expand Down

0 comments on commit 535ae9c

Please sign in to comment.