- Feb 10, 2018
-
-
ulif authored
In tests we now automatically remove any handlers registered with `ulif.diceware` loggers.
-
- Aug 30, 2017
-
-
ulif authored
-
- Aug 28, 2017
-
-
drebs authored
The path to wordlist files is hardcoded in the generated sphinx documentation and because it may differ depending on how the package is installed this creates different problems: - the path hardcoded in the online api documentation may differ from the one in each installation, leading to incorrect information provided to the user of the api. - packaging diceware documentation to specific operating systems may generate unreproducible packages. This commit replaces the variable WORDLISTS_DIR by a function called get_wordlists_dir() that delays the construction of the path instead of doing it during module loading.
-
- Dec 22, 2016
-
-
ulif authored
We want that kind of fake input for other tests as well and will turn it into a pytest fixture.
-
- Nov 13, 2015
-
-
ulif authored
With the new config module in place we must make sure, that any user maintained .diceware.ini files do not interfere with tests. The fixture sets $HOME for all tests automatically.
-
- Nov 11, 2015
-
-
ulif authored
-
- Aug 03, 2015
-
-
ulif authored
-
- Aug 02, 2015
-
-
ulif authored
Use conftest module for fixtures we need in several test modules.
-