Skip to content

Commit

Permalink
fix assertions (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
b1ron committed Nov 21, 2023
1 parent de1615e commit 9c3899e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymongo_test.py
Expand Up @@ -7,10 +7,10 @@

db = client.test
res = db.command('ping', '1')
assert (res == {'ok': 1.0}), "ping failed"
assert (res['ok'] == 1.0), "ping failed"

res = db.command('dropDatabase', 1)
assert (res == {'ok': 1.0}), "dropDatabase failed"
assert (res['ok'] == 1.0), "dropDatabase failed"

doc_list = [
{'_id': 1, 'a': 1},
Expand Down

0 comments on commit 9c3899e

Please sign in to comment.