<div dir="ltr"><div>Package: dput-ng</div><div>Version: 1.10</div><div><br></div><div>I'm trying to package dput-ng-1.10 for Gentoo Linux and hit test failure.</div><div>Steps to reproduce:</div><div>1. Download and unpack dput-ng-1.10 source: <a href="http://ftp.debian.org/debian/pool/main/d/dput-ng/dput-ng_1.10.tar.xz">http://ftp.debian.org/debian/pool/main/d/dput-ng/dput-ng_1.10.tar.xz</a></div><div>2. Run "nosetests" in unpacked directory.</div><div><br></div><div>Expected result: all tests runs OK.</div><div>Actual result:</div><div><div>======================================================================</div><div>FAIL: Make sure a bad validation breaks</div><div>----------------------------------------------------------------------</div><div>Traceback (most recent call last):</div><div>  File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest</div><div>    self.test(*self.arg)</div><div>  File "/tmp/portage/dev-util/dput-ng-1.10-r1/work/dputng/tests/test_configs.py", line 35, in test_config_invalidate</div><div>    assert True is False</div><div>AssertionError: </div><div>    validate_object('config', {u'supported-distribution': {u'known': [u'release'], u'allowed': [u'release']}, u'incoming': u'/dev/null'}, "profiles/test_profile_bad")</div><div>>>  assert True is False</div><div>    </div><div>-------------------- >> begin captured logging << --------------------</div><div>dput: DEBUG: Loading configuration: profiles test_profile_bad</div><div>dput: TRACE: Checking for configuration: /tmp/portage/dev-util/dput-ng-1.10-r1/work/dputng/tests/dputng</div><div>dput: TRACE: Checking - /tmp/portage/dev-util/dput-ng-1.10-r1/work/dputng/tests/dputng/profiles/test_profile_bad.json</div><div>dput: DEBUG: Loading schema config from /usr/share/dput-ng/schemas</div><div>dput: DEBUG: Skipping skel/schemas</div><div>--------------------- >> end captured logging << ---------------------</div></div><div><br></div><div>Environment:<br></div><div>Python 2.7.10</div><div>Nose: 1.3.7</div></div>