示例#1
0
def test_rowcount():
    """Test the rowcount function."""
    
    table = (('foo', 'bar'), ('a', 1), ('b',))
    actual = rowcount(table)
    expect = 2
    eq_(expect, actual)
示例#2
0
def test_rowcount():
    """Test the rowcount function."""

    table = (('foo', 'bar'), ('a', 1), ('b', ))
    actual = rowcount(table)
    expect = 2
    eq_(expect, actual)
示例#3
0
def test_rowcount():
    table = (('foo', 'bar'), ('a', 1), ('b', ))
    actual = rowcount(table)
    expect = 2
    eq_(expect, actual)
示例#4
0
def test_rowcount():
    table = (('foo', 'bar'), ('a', 1), ('b',))
    actual = rowcount(table)
    expect = 2
    eq_(expect, actual)
示例#5
0
文件: test_util.py 项目: talwai/petl
def test_rowcount():
    table = (("foo", "bar"), ("a", 1), ("b",))
    actual = rowcount(table)
    expect = 2
    eq_(expect, actual)