def test_eval(self): """Test the evaluation of the warning/critical level.""" nagios = SimpleNagios( foo=100, foo_critical=90, bar=20, ) nagios._eval()