Skip to content

Commit

Permalink
fix(conn): add the missing close function for the connection
Browse files Browse the repository at this point in the history
  • Loading branch information
NefixEstrada committed Jul 25, 2023
1 parent 1e84705 commit 4066d96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rethinkdb_mock/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,9 @@ def _start(self, rql_query, **global_optargs):
def is_open(self):
return True

def close(self):
return True


class MockThink(object):
def __init__(self, initial_data):
Expand Down

0 comments on commit 4066d96

Please sign in to comment.