Compare commits

...

1 Commits

Author SHA1 Message Date
Kyle Wigley
852cb0a150 add ability to run postgres int. tests locally 2021-02-09 15:50:44 -05:00

View File

@@ -141,9 +141,12 @@ class DBTIntegrationTest(unittest.TestCase):
@property
def database_host(self):
if os.name == 'nt':
if sys.platform == 'win32':
return 'localhost'
return 'database'
elif sys.platform == 'darwin':
return 'localhost'
else:
return 'database'
def postgres_profile(self):
return {