def test_no_filters(self, field, value):
posts = [{field: value}]
posts = filter_posts(posts, [])
assert posts == [{field: value}]
# Asserts that the post is properly filtered.
# Regex characters are blacklisted to prevent false negatives.
评论列表
文章目录