MCPcopy Index your code
hub / github.com/bleachbit/bleachbit / test_init_configuration

Method test_init_configuration

tests/TestOptions.py:154–160  ·  view source on GitHub ↗

Test for init_configuration()

(self)

Source from the content-addressed store, hash-verified

152 self.assertEqual(set(old_keep_list), set(o.get_whitelist_paths()))
153
154 def test_init_configuration(self):
155 """Test for init_configuration()"""
156 if os.path.exists(bleachbit.options_file):
157 os.remove(bleachbit.options_file)
158 self.assertNotExists(bleachbit.options_file)
159 bleachbit.Options.init_configuration()
160 self.assertExists(bleachbit.options_file)
161
162 def test_is_corrupt(self):
163 """Test is_corrupt()"""

Callers

nothing calls this directly

Calls 2

assertNotExistsMethod · 0.80
assertExistsMethod · 0.80

Tested by

no test coverage detected