def test_length(self): path = get_debuginfo.get_debugfile_path('86fe5bc1f46b8f8aa9a7a479ff991900db93f720@0x7f71aab08248') actual = len(path) expected = 66 self.assertEqual(expected, actual)
def test_length(self): path = get_debuginfo.get_debugfile_path( '86fe5bc1f46b8f8aa9a7a479ff991900db93f720@0x7f71aab08248') actual = len(path) expected = 66 self.assertEqual(expected, actual)
def test_simple(self): actual = get_debuginfo.get_debugfile_path('1234') expected = '/usr/lib/debug/.build-id/12/34' self.assertEqual(expected, actual)