Toggle navigation
Toggle navigation
This project
Loading...
Sign in
서승완
/
kappa
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
James Cooper
2016-06-12 16:23:01 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5656e5e1f1a37b6bc7eef2aef66d5924dbb557af
5656e5e1
1 parent
ae5c4812
test_role.py: use string.printable instead of lowercase (fixes Python 3.x)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
tests/unit/test_role.py
tests/unit/test_role.py
View file @
5656e5e
...
...
@@ -21,7 +21,7 @@ from kappa.role import Role
def
randomword
(
length
):
return
''
.
join
(
random
.
choice
(
string
.
lowercas
e
)
for
i
in
range
(
length
))
return
''
.
join
(
random
.
choice
(
string
.
printabl
e
)
for
i
in
range
(
length
))
class
TestRole
(
unittest
.
TestCase
):
...
...
Please
register
or
login
to post a comment