def test_is_tag__maximum_length(self, expected_is_tag, endswith): hooks('is_tag')(lambda request: expected_is_tag) tag = is_tag(None) assert tag.endswith(endswith + '"') assert len(tag) <= 34
def test_is_tag__maximum_length(self, expected_is_tag, endswith): hooks("is_tag")(lambda request: expected_is_tag) tag = is_tag(None) assert tag.endswith(endswith + '"') assert len(tag) <= 34
def test_is_tag__valid_values(self): hooks('is_tag')(lambda request: 'a string') assert is_tag(None) == '"a string"'
def test_is_tag__valid_values(self): hooks("is_tag")(lambda request: "a string") assert is_tag(None) == '"a string"'