Skip to content

Commit

Permalink
support windows in source overrides tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Beck committed Apr 28, 2020
1 parent ee529a5 commit c228f5e
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
from datetime import datetime, timedelta
from test.integration.base import DBTIntegrationTest, use_profile
from dbt.exceptions import CompilationException
Expand Down Expand Up @@ -183,5 +184,7 @@ def test_postgres_source_duplicate_overrides(self):

self.assertIn('dbt found two schema.yml entries for the same source named', str(exc.exception))
self.assertIn('one of these files', str(exc.exception))
self.assertIn('dupe-models/schema1.yml', str(exc.exception))
self.assertIn('dupe-models/schema2.yml', str(exc.exception))
schema1_path = os.path.join('dupe-models', 'schema1.yml')
schema2_path = os.path.join('dupe-models', 'schema2.yml')
self.assertIn(schema1_path, str(exc.exception))
self.assertIn(schema2_path, str(exc.exception))

0 comments on commit c228f5e

Please sign in to comment.