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

Method test_get_share_path

tests/TestInit.py:71–75  ·  view source on GitHub ↗

Unit test for get_share_path()

(self)

Source from the content-addressed store, hash-verified

69 f'No share dir exists among: {got_shared_dirs}')
70
71 def test_get_share_path(self):
72 """Unit test for get_share_path()"""
73 for fn in ('app-menu.ui', 'protected_path.xml'):
74 self.assertExists(get_share_path(fn))
75 self.assertIsNone(get_share_path('nonexistent'))
76
77
78def suite():

Callers

nothing calls this directly

Calls 2

get_share_pathFunction · 0.90
assertExistsMethod · 0.80

Tested by

no test coverage detected