Skip to content

Commit

Permalink
disabled dirsync logging
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-fenton committed Nov 16, 2024
1 parent dcdf23d commit fc74577
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions i18nilize/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dirsync==2.2.5
7 changes: 4 additions & 3 deletions i18nilize/tests/test_diffing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
class TestDiffing(unittest.TestCase):
@classmethod
def setUpClass(cls):
logging.basicConfig(level=logging.INFO)
logging.basicConfig(level=logging.CRITICAL)
logging.getLogger('dirsync').disabled = True

# 'mock' translations folder to mimic real user interaction
cls.test_translations_dir = "tests/resources/diffing_algorithm/test_translations"
cls.test_translations_dir = os.path.join("tests", "resources", "diffing_algorithm", "test_translations")

# main directory for diffing tests
cls.test_data_location = "tests/resources/diffing_algorithm/all_tests"
cls.test_data_location = os.path.join("tests", "resources", "diffing_algorithm", "all_tests")

# standardized names for a test folder
cls.initial_translations_dir = "initial_translations"
Expand Down

0 comments on commit fc74577

Please sign in to comment.