def test_list_format52(self): config( p_overrides={ ('topydo', 'identifier_alphabet'): '0123456789abcdef', ('topydo', 'identifiers'): 'text' }) # make sure that it fallbacks to the default alphabet todolist = TodoListBase([str(i) for i in range(0, 100 * 16 * 10)]) self.assertEqual(4, todolist.max_id_length())
def test_list_format52(self): config(p_overrides={('topydo', 'identifier_alphabet'): '0123456789abcdef', ('topydo', 'identifiers'): 'text'}) # make sure that it fallbacks to the default alphabet todolist = TodoListBase([str(i) for i in range(0, 100 * 16 * 10)]) self.assertEqual(4, todolist.max_id_length())