Skip to content

Commit

Permalink
Set up logging info for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberiaResurrection committed Jan 12, 2025
1 parent aae2566 commit 059bbe7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Tests/baseTest.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import argparse
import logging
import os
import tempfile
import unittest


class baseTest(unittest.TestCase):

# Set up logging information
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG)

def unpack_filename(self, filename):
# try unpacked filename directly
sourcefile = os.path.abspath(filename)
Expand Down Expand Up @@ -57,5 +63,6 @@ def _make_args_no_line(self):

return args


if __name__ == '__main__':
unittest.main()

0 comments on commit 059bbe7

Please sign in to comment.