MCPcopy Create free account
hub / github.com/chatmail/core / test_wrong_db

Method test_wrong_db

python/tests/test_3_offline.py:13–17  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

11
12class TestOfflineAccountBasic:
13 def test_wrong_db(self, tmp_path):
14 p = tmp_path / "hello.db"
15 p.write_text("123")
16 with pytest.raises(ValueError):
17 _account = Account(str(p))
18
19 def test_os_name(self, tmp_path):
20 p = tmp_path / "hello.db"

Callers

nothing calls this directly

Calls 1

AccountClass · 0.90

Tested by

no test coverage detected