[dput-ng-maint] Bug#824652: dput-ng-1.10: test_configs.py test failed

Yuri Konotopov ykonotopov at gmail.com
Wed May 18 12:28:14 UTC 2016


Package: dput-ng
Version: 1.10

I'm trying to package dput-ng-1.10 for Gentoo Linux and hit test failure.
Steps to reproduce:
1. Download and unpack dput-ng-1.10 source:
http://ftp.debian.org/debian/pool/main/d/dput-ng/dput-ng_1.10.tar.xz
2. Run "nosetests" in unpacked directory.

Expected result: all tests runs OK.
Actual result:
======================================================================
FAIL: Make sure a bad validation breaks
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in
runTest
    self.test(*self.arg)
  File
"/tmp/portage/dev-util/dput-ng-1.10-r1/work/dputng/tests/test_configs.py",
line 35, in test_config_invalidate
    assert True is False
AssertionError:
    validate_object('config', {u'supported-distribution': {u'known':
[u'release'], u'allowed': [u'release']}, u'incoming': u'/dev/null'},
"profiles/test_profile_bad")
>>  assert True is False

-------------------- >> begin captured logging << --------------------
dput: DEBUG: Loading configuration: profiles test_profile_bad
dput: TRACE: Checking for configuration:
/tmp/portage/dev-util/dput-ng-1.10-r1/work/dputng/tests/dputng
dput: TRACE: Checking -
/tmp/portage/dev-util/dput-ng-1.10-r1/work/dputng/tests/dputng/profiles/test_profile_bad.json
dput: DEBUG: Loading schema config from /usr/share/dput-ng/schemas
dput: DEBUG: Skipping skel/schemas
--------------------- >> end captured logging << ---------------------

Environment:
Python 2.7.10
Nose: 1.3.7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/dput-ng-maint/attachments/20160518/1c5cd13f/attachment.html>


More information about the dput-ng-maint mailing list