@@ -471,22 +471,18 @@ def test_seed_columns():
471471 package = "package" ,
472472 path = Path ("examples/sushi_dbt/seeds/waiter_names.csv" ),
473473 columns = {
474- "address" : ColumnConfig (
475- name = "address" , data_type = "text" , description = "Business address"
476- ),
477- "zipcode" : ColumnConfig (
478- name = "zipcode" , data_type = "text" , description = "Business zipcode"
479- ),
474+ "id" : ColumnConfig (name = "id" , data_type = "text" , description = "The ID" ),
475+ "name" : ColumnConfig (name = "name" , data_type = "text" , description = "The name" ),
480476 },
481477 )
482478
483479 expected_column_types = {
484- "address " : exp .DataType .build ("text" ),
485- "zipcode " : exp .DataType .build ("text" ),
480+ "id " : exp .DataType .build ("text" ),
481+ "name " : exp .DataType .build ("text" ),
486482 }
487483 expected_column_descriptions = {
488- "address " : "Business address " ,
489- "zipcode " : "Business zipcode " ,
484+ "id " : "The ID " ,
485+ "name " : "The name " ,
490486 }
491487
492488 context = DbtContext ()
@@ -503,21 +499,21 @@ def test_seed_column_types():
503499 package = "package" ,
504500 path = Path ("examples/sushi_dbt/seeds/waiter_names.csv" ),
505501 column_types = {
506- "address " : "text" ,
507- "zipcode " : "text" ,
502+ "id " : "text" ,
503+ "name " : "text" ,
508504 },
509505 columns = {
510- "zipcode " : ColumnConfig (name = "zipcode " , description = "Business zipcode " ),
506+ "name " : ColumnConfig (name = "name " , description = "The name " ),
511507 },
512508 quote_columns = True ,
513509 )
514510
515511 expected_column_types = {
516- "address " : exp .DataType .build ("text" ),
517- "zipcode " : exp .DataType .build ("text" ),
512+ "id " : exp .DataType .build ("text" ),
513+ "name " : exp .DataType .build ("text" ),
518514 }
519515 expected_column_descriptions = {
520- "zipcode " : "Business zipcode " ,
516+ "name " : "The name " ,
521517 }
522518
523519 context = DbtContext ()
0 commit comments