Skip to content

Commit fccfa81

Browse files
committed
fix(test): Ignore thread number as it may not be 1
1 parent ca0a5c5 commit fccfa81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/operators/test_dbt_seed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def test_dbt_seed_models_logging(profiles_file, dbt_project_file, seed_files, tm
128128
assert sum((line_2 in line for line in lines)) == 1
129129

130130
# Check thread tags are not present (that would indicate we are running with debug flag)
131-
thread_tag = "[info ] [Thread-1 ]"
131+
thread_tag = "[info ] [Thread- ]"
132132
assert any((thread_tag in line for line in lines)) is False
133133

134134
main_thread_tag = "[info ] [MainThread]"
@@ -165,7 +165,7 @@ def test_dbt_seed_models_debug_logging(
165165

166166
# Check for duplicate lines
167167
line_1 = (
168-
"[info ] [Thread-1 ]: 1 of 2 START seed file public.seed_1...................."
168+
"]: 1 of 2 START seed file public.seed_1...................."
169169
"........................ [RUN]"
170170
)
171171
assert sum((line_1 in line for line in lines)) == 1

0 commit comments

Comments
 (0)