-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add no new logging handlers when reloading the module.
User @epogrebnyak found the bug. Fixes #11. Closes #27.
- Loading branch information
Showing
4 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import handout | ||
|
||
|
||
def test_handout_on_title_arg_inserts_title(tmp_path): | ||
output = handout.Handout(directory=tmp_path, title='This string')._generate(source='') | ||
assert '<title>This string</title>' in output | ||
doc = handout.Handout(directory=tmp_path, title='This string') | ||
output = doc._generate(source='') | ||
assert '<title>This string</title>' in output |