mirror of
https://github.com/chatmail/relay.git
synced 2026-05-12 09:04:36 +00:00
some reformatting and striking overall
This commit is contained in:
@@ -30,7 +30,6 @@ def test_login_smtp(benchmark, smtp, gencreds):
|
||||
|
||||
class TestDC:
|
||||
def test_autoconfigure(self, benchmark, cmfactory):
|
||||
|
||||
def autoconfig_and_idle_ready():
|
||||
cmfactory.get_online_accounts(1)
|
||||
|
||||
|
||||
@@ -83,9 +83,8 @@ def pytest_terminal_summary(terminalreporter):
|
||||
tr.write_line(headers)
|
||||
tr.write_line("-" * len(headers))
|
||||
for name, durations in results.items():
|
||||
overall = sum(durations)
|
||||
median = sorted(durations)[len(durations) // 2]
|
||||
median = f'{median:2.4f}'
|
||||
median = f"{median:2.4f}"
|
||||
tr.write_line(f"{name: <30} {median: >6}")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user