def test_nametupled_ignore_array(mapping=mapping_array): mapping = namedtupled.ignore(mapping) t = namedtupled.map(mapping) assert t == mapping
def test_ignore(): data = {'binks': namedtupled.ignore({'says': 'meow'})} cat = namedtupled.map(data) assert cat.binks == {'says': 'meow'}
def test_namedtupled_ignore_object(mapping=mapping): mapping = namedtupled.ignore(mapping) t = namedtupled.map(mapping) assert t == mapping