mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
test: fixup tests/test_3_offline.py::TestOfflineAccountBasic::test_wrong_db
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user