Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_filter_none():
assert utils.filter_none("abc", "") is False
assert utils.filter_none("abc", None) is False
assert utils.filter_none("abc", []) is False
assert utils.filter_none("abc", "asdf") is True
def test_filter_none():
assert utils.filter_none("abc", "") is False
assert utils.filter_none("abc", None) is False
assert utils.filter_none("abc", []) is False
assert utils.filter_none("abc", "asdf") is True
def test_filter_none():
assert utils.filter_none("abc", "") is False
assert utils.filter_none("abc", None) is False
assert utils.filter_none("abc", []) is False
assert utils.filter_none("abc", "asdf") is True
def test_filter_none():
assert utils.filter_none("abc", "") is False
assert utils.filter_none("abc", None) is False
assert utils.filter_none("abc", []) is False
assert utils.filter_none("abc", "asdf") is True