Skip to content

Commit

Permalink
🎨 suppress test logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Hi-king committed May 7, 2022
1 parent c36938a commit 88a7bd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/tree/test_task_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def test_make_tree_info_abbreviation(self):
)

# check after sub task runs
luigi.build([task], local_scheduler=True)
luigi.build([task], local_scheduler=True, log_level='CRITICAL')
tree = make_task_info_as_tree_str(task)
expected = r"""
└─-\(COMPLETE\) _DoubleLoadSubTask\[[a-z0-9]*\]
Expand All @@ -101,7 +101,7 @@ def test_make_tree_info_not_compress(self):
)

# check after sub task runs
luigi.build([task], local_scheduler=True)
luigi.build([task], local_scheduler=True, log_level='CRITICAL')
tree = make_task_info_as_tree_str(task, abbr=False)
expected = r"""
└─-\(COMPLETE\) _DoubleLoadSubTask\[[a-z0-9]*\]
Expand All @@ -119,7 +119,7 @@ def test_make_tree_info_not_compress_ignore_task(self):
)

# check after sub task runs
luigi.build([task], local_scheduler=True)
luigi.build([task], local_scheduler=True, log_level='CRITICAL')
tree = make_task_info_as_tree_str(task, abbr=False, ignore_task_names=['_Task'])
expected = r"""
└─-\(COMPLETE\) _DoubleLoadSubTask\[[a-z0-9]*\]$"""
Expand Down

0 comments on commit 88a7bd8

Please sign in to comment.