Skip to content

Commit

Permalink
test: fixup tests/test_3_offline.py::TestOfflineAccountBasic::test_wr…
Browse files Browse the repository at this point in the history
…ong_db
  • Loading branch information
link2xt committed Mar 3, 2024
1 parent 08247a5 commit 4da0c19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tests/test_3_offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class TestOfflineAccountBasic:
def test_wrong_db(self, tmp_path):
p = tmp_path / "hello.db"
p.write_text("123")
account = Account(str(p))
assert not account.is_open()
with pytest.raises(ValueError):
_account = Account(str(p))

def test_os_name(self, tmp_path):
p = tmp_path / "hello.db"
Expand Down

0 comments on commit 4da0c19

Please sign in to comment.