James Cooper

test_role.py: use string.printable instead of lowercase (fixes Python 3.x)

...@@ -21,7 +21,7 @@ from kappa.role import Role ...@@ -21,7 +21,7 @@ from kappa.role import Role
21 21
22 22
23 def randomword(length): 23 def randomword(length):
24 - return ''.join(random.choice(string.lowercase) for i in range(length)) 24 + return ''.join(random.choice(string.printable) for i in range(length))
25 25
26 26
27 class TestRole(unittest.TestCase): 27 class TestRole(unittest.TestCase):
......