def test_dselect_and_dfilter(tv): from indyva.dynamics.dselect import DynSelect d = DynSelect('sel1', tv.table) tv.set_highlight(d) horizontal2 = d.new_categorical_condition('State', 'horizontal2') horizontal2.add_category(['RI','SD', 'NY', 'VT']) d.update(horizontal2) from indyva.dynamics.dfilter import DynFilter f = DynFilter('filt1', tv.table) tv.set_dynfilter(f) f.new_categorical_condition('State', ['DC','NY'], 'horizontal') f.new_attribute_condition(['State', 'Information'], 'vertical')