Skip to content

Commit

Permalink
fix ls test
Browse files Browse the repository at this point in the history
  • Loading branch information
iknox-fa committed May 26, 2021
1 parent 1be6254 commit 90edc38
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions test/integration/047_dbt_ls_test/test_ls.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def expect_snapshot_output(self):
'alias': None,
'check_cols': None,
},
'unique_id': 'snapshot.test.my_snapshot',
'original_file_path': 'snapshots/snapshot.sql',
'alias': 'my_snapshot',
'resource_type': 'snapshot',
},
Expand Down Expand Up @@ -125,6 +127,8 @@ def expect_analyses_output(self):
'schema': None,
'alias': None,
},
'unique_id': 'analysis.test.a',
'original_file_path': 'analyses/a.sql',
'alias': 'a',
'resource_type': 'analysis',
},
Expand Down Expand Up @@ -157,6 +161,8 @@ def expect_model_output(self):
'schema': None,
'alias': None,
},
'original_file_path': 'models/ephemeral.sql',
'unique_id': 'model.test.ephemeral',
'alias': 'ephemeral',
'resource_type': 'model',
},
Expand All @@ -181,6 +187,8 @@ def expect_model_output(self):
'schema': None,
'alias': None,
},
'original_file_path': 'models/incremental.sql',
'unique_id': 'model.test.incremental',
'alias': 'incremental',
'resource_type': 'model',
},
Expand All @@ -204,6 +212,8 @@ def expect_model_output(self):
'schema': None,
'alias': None,
},
'original_file_path': 'models/sub/inner.sql',
'unique_id': 'model.test.inner',
'alias': 'inner',
'resource_type': 'model',
},
Expand All @@ -227,6 +237,8 @@ def expect_model_output(self):
'schema': None,
'alias': None,
},
'original_file_path': 'models/outer.sql',
'unique_id': 'model.test.outer',
'alias': 'outer',
'resource_type': 'model',
},
Expand Down Expand Up @@ -261,6 +273,8 @@ def expect_model_ephemeral_output(self):
'schema': None,
'alias': None,
},
'unique_id': 'model.test.ephemeral',
'original_file_path': 'models/ephemeral.sql',
'alias': 'outer',
'resource_type': 'model',
},
Expand All @@ -277,6 +291,8 @@ def expect_source_output(self):
'config': {
'enabled': True,
},
'unique_id': 'source.test.my_source.my_table',
'original_file_path': 'models/schema.yml',
'package_name': 'test',
'name': 'my_table',
'source_name': 'my_source',
Expand Down Expand Up @@ -314,6 +330,8 @@ def expect_seed_output(self):
'schema': None,
'alias': None,
},
'unique_id': 'seed.test.seed',
'original_file_path': 'data/seed.csv',
'alias': 'seed',
'resource_type': 'seed',
},
Expand Down Expand Up @@ -347,6 +365,8 @@ def expect_test_output(self):
'schema': None,
'alias': None,
},
'unique_id': 'test.test.not_null_outer_id.8f1c176a93',
'original_file_path': 'models/schema.yml',
'alias': 'not_null_outer_id',
'resource_type': 'test',
},
Expand All @@ -371,6 +391,8 @@ def expect_test_output(self):
'schema': None,
'alias': None,
},
'unique_id': 'test.test.t',
'original_file_path': 'tests/t.sql',
'alias': 't',
'resource_type': 'test',
},
Expand All @@ -395,6 +417,8 @@ def expect_test_output(self):
'schema': None,
'alias': None,
},
'unique_id': 'test.test.unique_outer_id.a653b29b17',
'original_file_path': 'models/schema.yml',
'alias': 'unique_outer_id',
'resource_type': 'test',
},
Expand Down

0 comments on commit 90edc38

Please sign in to comment.