Skip to content

Commit b0297b5

Browse files
committed
Add logging configuration in tests/test_examples
Logging configuration is part from each test file begging from commit 03b15fb We should that as well for tests/test_examples.py Signed-off-by: Martin Vrachev <[email protected]>
1 parent 53a2599 commit b0297b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_examples.py

+4
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@
77
import glob
88
import os
99
import shutil
10+
import sys
1011
import tempfile
1112
import unittest
1213
from pathlib import Path
1314
from typing import ClassVar, List
1415

16+
from tests import utils
17+
1518

1619
class TestRepoExamples(unittest.TestCase):
1720
"""Unit test class for 'repo_example' scripts.
@@ -86,4 +89,5 @@ def test_basic_repo(self) -> None:
8689

8790

8891
if __name__ == "__main__":
92+
utils.configure_test_logging(sys.argv)
8993
unittest.main()

0 commit comments

Comments
 (0)