MCPcopy Create free account
hub / github.com/bleachbit/bleachbit / setUp

Method setUp

tests/TestFileUtilities.py:201–207  ·  view source on GitHub ↗

Call before each test method

(self)

Source from the content-addressed store, hash-verified

199 """Test case for module FileUtilities"""
200
201 def setUp(self):
202 """Call before each test method"""
203 super().setUp()
204 self.old_locale_tuple = locale.getlocale(locale.LC_NUMERIC)
205 self.old_locale_str = locale.setlocale(locale.LC_NUMERIC)
206 locale.setlocale(locale.LC_NUMERIC, 'C')
207 init_configuration(log=False)
208
209 def tearDown(self):
210 """Call after each test method"""

Callers

nothing calls this directly

Calls 1

init_configurationFunction · 0.90

Tested by

no test coverage detected