Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #739499

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

From Yuri Konotopov <ykonotopov@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#824652: dput-ng-1.10: test_configs.py test failed
Date 2016-05-18 14:40 +0200
Message-ID <rA8VB-2a6-45@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#824652: dput-ng-1.10: test_configs.py test failed Yuri Konotopov <ykonotopov@gmail.com> - 2016-05-18 14:40 +0200

csiph-web