Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
diceware-debian
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drebs
diceware-debian
Commits
b2852369
Commit
b2852369
authored
7 years ago
by
ulif
Browse files
Options
Downloads
Patches
Plain Diff
Remove obsolete test.
parent
33c79db2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_wordlist.py
+0
-10
0 additions, 10 deletions
tests/test_wordlist.py
with
0 additions
and
10 deletions
tests/test_wordlist.py
+
0
−
10
View file @
b2852369
...
...
@@ -169,16 +169,6 @@ class TestWordList(object):
w_list
=
WordList
(
str
(
in_file
))
assert
w_list
.
fd
is
not
None
def
test_create_accepts_fd_with_broken_seek
(
self
,
argv_handler
):
# we accept files that have no working seek() (like sys.stdin)
fd
=
StringIO
(
b
"
word1
\n
word2
\n
"
.
decode
(
"
utf-8
"
))
def
broken_seek
(
num
):
raise
IOError
(
"
Illegal seek
"
)
fd
.
seek
=
broken_seek
w_list
=
WordList
(
fd
)
assert
w_list
.
fd
is
not
fd
def
test_file_simple
(
self
,
tmpdir
):
# we handle simple files correctly
in_file
=
tmpdir
.
mkdir
(
"
work
"
).
join
(
"
mywordlist
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment