def test_value(self): assert 5 == listify(5)
def test_string(self): s = "hello world" assert list(s) == listify(s)
def test_none(self): l = None assert [] == listify(l)
def test_set(self): s = {1, 2, 3} assert [1, 2, 3] == listify(s)
def test_dict(self): d = {"a": 1, "b": 2, "c": 3} assert ["a", "b", "c"] == listify(d)
def test_list(self): l = [1, 2, 3, 4] assert l == listify(l)