[Checkins] [zopefoundation/zdaemon] 12e32a: PEP-8

GitHub noreply at github.com
Wed Apr 15 11:47:48 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zdaemon
  Commit: 12e32a7ddadea42ad93f255276b94d8f7079dfde
      https://github.com/zopefoundation/zdaemon/commit/12e32a7ddadea42ad93f255276b94d8f7079dfde
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2015-04-15 (Wed, 15 Apr 2015)

  Changed paths:
    M src/zdaemon/tests/testzdrun.py
    M src/zdaemon/zdctl.py

  Log Message:
  -----------
  PEP-8

Don't ask me why flake8 didn't complain about this before, I don't know
either.


  Commit: fcc7f873068b91b6d1b697e636c674785afa0375
      https://github.com/zopefoundation/zdaemon/commit/fcc7f873068b91b6d1b697e636c674785afa0375
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2015-04-15 (Wed, 15 Apr 2015)

  Changed paths:
    M .coveragerc
    M src/zdaemon/tests/testzdoptions.py
    M src/zdaemon/zdoptions.py

  Log Message:
  -----------
  Improve test coverage for zdoptions.py


  Commit: b4ae6195cc12cec484ad47446e8b3f055f3c9761
      https://github.com/zopefoundation/zdaemon/commit/b4ae6195cc12cec484ad47446e8b3f055f3c9761
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2015-04-15 (Wed, 15 Apr 2015)

  Changed paths:
    M src/zdaemon/zdoptions.py

  Log Message:
  -----------
  Remove implausible exception handling

I don't buy a Python implementation that doesn't have a sys.argv.  And
while sys.argv[0] can be missing, if you take pains to do an os.execve()
just the right way, people who do that deserve to get an IndexError in
their faces.

This improves test coverage.


  Commit: c195cccf5b6acab7cc30daa5acd7b392b026377e
      https://github.com/zopefoundation/zdaemon/commit/c195cccf5b6acab7cc30daa5acd7b392b026377e
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2015-04-15 (Wed, 15 Apr 2015)

  Changed paths:
    M src/zdaemon/tests/testzdoptions.py

  Log Message:
  -----------
  Automatically collect all test classes

Be careful to avoid duplicating some test methods:
TestBasicFunctionality inherited from TestZDOptions for the sole reason
of keeping the explicit test class enumeration in test_suite shorter.
Apparently.


  Commit: 81b540d134fd1638fcab2cade8ec13cdb8572395
      https://github.com/zopefoundation/zdaemon/commit/81b540d134fd1638fcab2cade8ec13cdb8572395
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2015-04-15 (Wed, 15 Apr 2015)

  Changed paths:
    M src/zdaemon/tests/testzdoptions.py

  Log Message:
  -----------
  Test error handling in ZDOptions.add()


Compare: https://github.com/zopefoundation/zdaemon/compare/41acaa78c790...81b540d134fd


More information about the checkins mailing list