def test_true(self): assert is_dangerous_cpu(None, "AuthenticAMD family 20 model 1") is True assert is_dangerous_cpu(None, "AuthenticAMD family 20 model 2") is True assert is_dangerous_cpu("amd64", "family 20 model 1") is True assert is_dangerous_cpu("amd64", "family 20 model 2") is True
def test_false(self): assert is_dangerous_cpu(None, None) is False assert is_dangerous_cpu(None, "family 20 model 1") is False
def test_true(self): assert is_dangerous_cpu(None, 'AuthenticAMD family 20 model 1') is True assert is_dangerous_cpu(None, 'AuthenticAMD family 20 model 2') is True assert is_dangerous_cpu('amd64', 'family 20 model 1') is True assert is_dangerous_cpu('amd64', 'family 20 model 2') is True
def test_true(self): assert is_dangerous_cpu(None, 'AuthenticAMD family 20 model 1') is True assert is_dangerous_cpu(None, 'AuthenticAMD family 20 model 2') is True assert is_dangerous_cpu('amd64', 'family 20 model 1') is True assert is_dangerous_cpu('amd64', 'family 20 model 2') is True
def test_false(self): assert is_dangerous_cpu(None, None) is False assert is_dangerous_cpu(None, 'family 20 model 1') is False