Esempio n. 1
0
def test_lconf_structure_classes24_expect_failure():
    """ Tests: test_lconf_structure_classes24_expect_failure
   """
    print('::: TEST: test_lconf_structure_classes24_expect_failure()')

    obj_ = ListOT(('a', 'b', 'c'), [('11', '22', '33'), ('111', '222', '333')])
    obj_.this_column_values('x')
Esempio n. 2
0
def test_lconf_structure_classes24_expect_failure():
   """ Tests: test_lconf_structure_classes24_expect_failure
   """
   print('::: TEST: test_lconf_structure_classes24_expect_failure()')

   obj_ = ListOT(('a', 'b', 'c'), [('11', '22', '33'), ('111', '222', '333')])
   obj_.this_column_values('x')
Esempio n. 3
0
def test_lconf_structure_classes28():
    """ Tests: test_lconf_structure_classes28
   """
    print('::: TEST: test_lconf_structure_classes28()')

    obj_ = ListOT(('a', 'b', 'c'), [('11', '22', '33'), ('111', '222', '333')])
    values_column_a = obj_.this_column_values('a')

    obj_.replace_column_names(('new a', 'new b', 'new c'))
    eq_(obj_.column_names, ('new a', 'new b', 'new c'), msg=None)
    eq_(values_column_a, ['11', '111'], msg=None)
Esempio n. 4
0
def test_lconf_structure_classes28():
   """ Tests: test_lconf_structure_classes28
   """
   print('::: TEST: test_lconf_structure_classes28()')

   obj_ = ListOT(('a', 'b', 'c'), [('11', '22', '33'), ('111', '222', '333')])
   values_column_a = obj_.this_column_values('a')

   obj_.replace_column_names(('new a', 'new b', 'new c'))
   eq_(obj_.column_names, ('new a', 'new b', 'new c'), msg=None)
   eq_(values_column_a, ['11', '111'], msg=None)