Beispiel #1
0
def test_make_column():
    assert make_column(term_uri('source')).separator == ';'
    assert make_column(Column('name')).datatype is None
    with pytest.raises(TypeError):
        make_column(5)
Beispiel #2
0
def test_make_column():
    assert make_column(term_uri('source')).separator == ';'
    assert make_column(Column('name')).datatype is None
    with pytest.raises(TypeError):
        make_column(5)
Beispiel #3
0
def test_column_basetype(col_spec, datatype):
    assert make_column(col_spec).datatype.base == datatype
Beispiel #4
0
def test_column_basetype(col_spec, datatype):
    assert make_column(col_spec).datatype.base == datatype