Esempio n. 1
0
def test_suffixheader():

    table1 = (('foo', 'bar'), (1, 'A'), (2, 'B'))

    expect = (('foo_suf', 'bar_suf'), (1, 'A'), (2, 'B'))

    actual = suffixheader(table1, '_suf')
    ieq(expect, actual)
    ieq(expect, actual)
Esempio n. 2
0
def test_suffixheader():

    table1 = (("foo", "bar"), (1, "A"), (2, "B"))

    expect = (("foo_suf", "bar_suf"), (1, "A"), (2, "B"))

    actual = suffixheader(table1, "_suf")
    ieq(expect, actual)
    ieq(expect, actual)
Esempio n. 3
0
def test_suffixheader():

    table1 = (('foo', 'bar'),
              (1, 'A'),
              (2, 'B'))

    expect = (('foo_suf', 'bar_suf'),
              (1, 'A'),
              (2, 'B'))

    actual = suffixheader(table1, '_suf')
    ieq(expect, actual)
    ieq(expect, actual)