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

Method test_os_name

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

Source from the content-addressed store, hash-verified

17 _account = Account(str(p))
18
19 def test_os_name(self, tmp_path):
20 p = tmp_path / "hello.db"
21 # we can't easily test if os_name is used in X-Mailer
22 # outgoing messages without a full Online test
23 # but we at least check Account accepts the arg
24 ac1 = Account(str(p), os_name="solarpunk")
25 ac1.get_info()
26
27 def test_preconfigure_keypair(self, acfactory, data):
28 ac = acfactory.get_unconfigured_account()

Callers

nothing calls this directly

Calls 2

get_infoMethod · 0.95
AccountClass · 0.90

Tested by

no test coverage detected