예제 #1
0
파일: test_util.py 프로젝트: obsoleter/petl
def test_rowcount():
    """Test the rowcount function."""
    
    table = (('foo', 'bar'), ('a', 1), ('b',))
    actual = rowcount(table)
    expect = 2
    eq_(expect, actual)
예제 #2
0
파일: test_util.py 프로젝트: florentx/petl
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
파일: test_util.py 프로젝트: brutimus/petl
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)