File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 44
55import json
66import logging
7- import os
87import sys
98from abc import ABC
109from contextlib import contextmanager
@@ -347,8 +346,8 @@ def prepare_directory(
347346 profiles_dir_path = None
348347
349348 return (
350- str (project_dir_path ) + os . sep ,
351- str (profiles_dir_path ) + os . sep if profiles_dir_path is not None else None ,
349+ str (project_dir_path ),
350+ str (profiles_dir_path ) if profiles_dir_path is not None else None ,
352351 )
353352
354353 def setup_dbt_logging (self , debug : Optional [bool ]):
Original file line number Diff line number Diff line change @@ -379,8 +379,8 @@ def test_dbt_base_dbt_directory_changed_to_s3(
379379 assert Path (tmp_dir ).exists ()
380380 assert Path (tmp_dir ).is_dir ()
381381
382- assert config .project_dir == f" { tmp_dir } /"
383- assert config .profiles_dir == f" { tmp_dir } /"
382+ assert config .project_dir == tmp_dir
383+ assert config .profiles_dir == tmp_dir
384384 assert config .state == f"{ tmp_dir } /target"
385385
386386 assert Path (f"{ tmp_dir } /profiles.yml" ).exists ()
You can’t perform that action at this time.
0 commit comments