mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 15:26:30 +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):
|
def test_wrong_db(self, tmp_path):
|
||||||
p = tmp_path / "hello.db"
|
p = tmp_path / "hello.db"
|
||||||
p.write_text("123")
|
p.write_text("123")
|
||||||
account = Account(str(p))
|
with pytest.raises(ValueError):
|
||||||
assert not account.is_open()
|
_account = Account(str(p))
|
||||||
|
|
||||||
def test_os_name(self, tmp_path):
|
def test_os_name(self, tmp_path):
|
||||||
p = tmp_path / "hello.db"
|
p = tmp_path / "hello.db"
|
||||||
|
|||||||
Reference in New Issue
Block a user