def test_invalid(self, response): with pytest.raises(ValueError): util.str_to_bool(response)
def test_falseish_upper(self, response): assert util.str_to_bool(response) is False
def test_trueish_upper(self, response): assert util.str_to_bool(response) is True
def test_invalid(self, response): with pytest.raises(ValueError): util.str_to_bool(response)
def test_falseish_upper(self, response): assert util.str_to_bool(response) is False
def test_trueish_upper(self, response): assert util.str_to_bool(response) is True