Skip to content
Snippets Groups Projects
  1. May 07, 2016
  2. May 06, 2016
  3. May 05, 2016
    • dwcoder's avatar
      Fix issue 23 · 5ca58b56
      dwcoder authored
      This commit fixes #23
      
      Add the `string.strip()` function to the `get_config_dict()`, to remove
      inverted commas around string values in the diceware.ini file.
      The strip removes both `"` and `'`.
      Add unit test to ensure the line:
      
          delimiter=" "
      
      in the diceware.ini file is being parsed correctly as a space.
      5ca58b56
  4. May 03, 2016
  5. May 01, 2016
  6. Apr 30, 2016
    • ulif's avatar
      Update history. · 88f049d9
      ulif authored
      88f049d9
    • ulif's avatar
      More kudos to @dwcoder · 0fbe13f4
      ulif authored
      0fbe13f4
    • ulif's avatar
      Merge branch 'dwcoder-fix-iss21' · ceefc71e
      ulif authored
      ceefc71e
    • ulif's avatar
      Undo changes to "considers_configfile" tests. · 3cbbc449
      ulif authored
      The modifications undone here, in
      `test_handle_options_considers_configfile()` could have gone into an
      own test. Each single test should only test a clear minimum of
      things.
      
      This specific test checked, whether configiles are considered at
      all. It was not its purpose to examine correct interpretation of
      keywords in the .ini-file; only to see whether these keyword values
      can be changed at all.
      
      If we wanted a complete and strict checking also of values, we had at
      least to check all possible keywords, including 'randomsource' and
      'wordlist'. Instead we only check a boolean, int, and string type
      keyword.
      
      Therefore the change to `test_handle_options_considers_configfile()`
      should have gone to another test.
      
      But then, the added testing is not neccessary. We had a test already
      that should have checked the 'caps' value properly. This test was done
      wrong before and is now done correctly, thanks to @dwcoder .
      
      I therefore removed the added test functionality.
      3cbbc449
    • ulif's avatar
      pep8. · dd1f56af
      ulif authored
      Running `pep8` or `flake8` over `tests/` complained about this one
      blank line.
      dd1f56af
  7. Apr 29, 2016
    • dwcoder's avatar
      Change capitalize to caps · 81d83afe
      dwcoder authored
      This commit fixes issue #21.
      Change all occurences of the option `capitalize` to `caps` in
      __init.py__.
      
      Make the same change in the test_diceware.py.
      Add a unit test that checks the output of main() after setting the
      `caps = off` in the .diceware.ini.
      81d83afe
  8. Apr 28, 2016
  9. Apr 27, 2016
  10. Apr 25, 2016
    • ulif's avatar
      Provide a logger, API-wise. · 70f91b65
      ulif authored
      Add a common place where components can write messages to. Any
      userinterface can decide, what messages should be visible
      (depending on their severity).
      70f91b65
  11. Apr 24, 2016
  12. Apr 21, 2016
  13. Apr 20, 2016
Loading