def METHOD_NAME(self):
    path1 = os.path.join(settings.FILEBROWSER_ROOT, '1/a/path')
    path2 = os.path.join(settings.FILEBROWSER_ROOT, 'not_int/a/path')
    path3 = 'not_int/a/path'
    path4 = '1/a/path'
    self.assertEqual(displayed_path(path1), 'home/a/path')
    self.assertEqual(displayed_path(path2), 'not_int/a/path')
    self.assertEqual(displayed_path(path3), 'not_int/a/path')
    self.assertEqual(displayed_path(path4), 'home/a/path')