Refine restrictions on test doubles to catch more errors.
commit0616bc6b1a60c7a69a10a80baa38b78a6164729c
authorBen Finney <ben+debian@benfinney.id.au>
Sat, 26 Dec 2015 08:36:16 +0000 (26 19:36 +1100)
committerBen Finney <ben+debian@benfinney.id.au>
Sat, 27 Aug 2016 04:13:32 +0000 (27 14:13 +1000)
tree640c30cbd5057f11b54d712640c6ad4ade061fa3
parent98b22f484ad44b1d76fd23eecb90277db31daff3
Refine restrictions on test doubles to catch more errors.

* unittest:
  : Create full code coverage with unit test suite.
  Use valid ‘delayed’ days for default test double values.
  Refine mock functions to get the real function's signature.
  Honour a request to have *no* value for a config option.
  Use mock callables that check upload method function signatures.
test/helper.py
test/test_changesfile.py
test/test_configfile.py
test/test_dcut.py
test/test_dput.py
test/test_dput_main.py
test/test_dputhelper.py
test/test_methods.py