def test_is_model_zero_w_w_revision(cpu): from kano.utils.hardware import is_model_zero_w, RPI_ZERO_W_KEY assert ( is_model_zero_w(revision=cpu.revision, use_cached=False) == (cpu.platform_key == RPI_ZERO_W_KEY) )
def is_unsupported_rpi(): """Check if the Raspberry Pi board model is supported under Kano OS.""" # The order of checks here is done Descending by Most Likely Model. return (is_model_b_plus() or is_model_b_beta() or is_model_b() or is_model_a() or is_model_a_plus() or is_model_zero() or is_model_zero_w())