MCPcopy Create free account
hub / github.com/Screenly/Anthias / test_get_raspberry_code_unknown

Function test_get_raspberry_code_unknown

tests/test_diagnostics.py:92–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90
91
92def test_get_raspberry_code_unknown() -> None:
93 with mock.patch(
94 'anthias_server.lib.diagnostics.device_helper.parse_cpu_info',
95 return_value={},
96 ):
97 assert diagnostics.get_raspberry_code() == 'Unknown'
98
99
100def test_get_raspberry_model_returns_model() -> None:

Callers

nothing calls this directly

Calls 1

patchMethod · 0.45

Tested by

no test coverage detected