def test_list_tags():
    """Test list_tags()."""
    actual = list_tags()
    assert actual in ('red', '/red', 31, 39)
    assert sorted(t for i in actual for t in i[:2] if t is not None) == sorted(BASE_CODES)
dataset/ETHPy150Open Robpol86/colorclass/tests/test_codes.py/test_list_tags/swapped operands of `in`