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
78fdabb4
Commit
78fdabb4
authored
7 years ago
by
ulif
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken manpage test.
This one ruined the 0.9.2 release.
parent
eb5a46ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.rst
+1
-1
1 addition, 1 deletion
CHANGES.rst
tests/test_manpage.py
+0
-10
0 additions, 10 deletions
tests/test_manpage.py
with
1 addition
and
11 deletions
CHANGES.rst
+
1
−
1
View file @
78fdabb4
...
...
@@ -4,7 +4,7 @@ Changes
0.9.3.dev0 (unreleased)
-----------------------
-
No changes ye
t.
-
Fix broken tes
t.
0.9.2 (2017-09-14)
...
...
This diff is collapsed.
Click to expand it.
tests/test_manpage.py
+
0
−
10
View file @
78fdabb4
...
...
@@ -20,13 +20,3 @@ class TestManpage(object):
def
test_manpage_contains_current_year
(
self
,
manpage
):
# the current year appears at least in the manpage
assert
str
(
datetime
.
datetime
.
now
().
year
)
in
manpage
def
test_help_texts_in_manpage
(
self
,
manpage
):
# the text of help output appear in the manpage
help_text_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'
exp_help_output.txt
'
)
with
open
(
help_text_path
,
'
r
'
)
as
fd
:
help_text
=
fd
.
read
()
help_text
=
help_text
.
replace
(
'
<WORDLISTS-DIR>
'
,
''
)
for
word
in
help_text
.
split
():
assert
word
in
manpage
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