@use_profile('postgres')
def test_postgres_simple_dependency(self):
    self.run_dbt(['deps'])
    results = self.run_dbt(['run'], strict=False)
    self.assertEqual(len(results), 3)
    self.assertTablesEqual('seed', 'view_model')
    self.assertTablesEqual('seed', 'incremental')
    created_models = self.get_models_in_schema()
    self.assertFalse(('config' in created_models))
    self.assertFalse(('table_model' in created_models))
    self.assertTrue(('view_model' in created_models))
    self.assertEqual(created_models['view_model'], 'table')
    self.assertTrue(('incremental' in created_models))
    self.assertEqual(created_models['incremental'], 'table')
@use_profile('postgres')
def test_postgres_simple_dependency(self):
    self.run_dbt(['deps'])
    results = self.run_dbt(['run'], strict=False)
    self.assertEqual(len(results), 3)
    self.assertTablesEqual('seed', 'view_model')
    self.assertTablesEqual('seed', 'incremental')
    created_models = self.get_models_in_schema()
    self.assertFalse(('config' in created_models))
    self.assertFalse(('table_model' in created_models))
    self.assertTrue(('view_model' in created_models))
    self.assertEqual(created_models['view_model'], 'table')
    self.assertTrue(('incremental' in created_models))
    self.assertEqual(created_models['incremental'], 'table')