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


Groups > linux.debian.maint.python > #7656

Re: Python-pyfasta: How to run nosetests and what to do with duplicated binary

From Piotr Ożarowski <piotr@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Python-pyfasta: How to run nosetests and what to do with duplicated binary
Date 2015-10-13 23:40 +0200
Message-ID <qjfsB-28J-23@gated-at.bofh.it> (permalink)
References <qjf9g-1Mb-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Andreas Tille, 2015-10-13]
> I: pybuild base:170: cd /build/python-pyfasta-0.5.2/.pybuild/pythonX.Y_3.4/build; python3.4 -m nose.
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.057s
> 
> OK
> 
> 
> The directory tests/ is definitely not empty.  Any idea why the tests
> are not run?

because I think running tests from package's root directory does more
harm than good

try with:

export PYBUILD_TEST_ARGS={dir}/tests

if these tests do not need 2to3 or check last example on
https://wiki.debian.org/Python/Pybuild

> I also would like to get advise what to do with /usr/bin/pyfasta which
> is a simple wrapper call script.  I tend to simply drop it from
> python-pyfasta and leave it in python3-pyfasta exclusively but would
> like to hear opinions about this strategy.

I do either that or provide new binary package (f.e. if it also gets
additional dependencies)
-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Python-pyfasta: How to run nosetests and what to do with duplicated  binary Andreas Tille <andreas@an3as.eu> - 2015-10-13 23:20 +0200
  Re: Python-pyfasta: How to run nosetests and what to do with  duplicated binary Piotr Ożarowski <piotr@debian.org> - 2015-10-13 23:40 +0200
    pybuild: passing {dir}/tests to nose/pytest by default duplicated  binary Piotr Ożarowski <piotr@debian.org> - 2015-10-14 13:30 +0200
      Re: pybuild: passing {dir}/tests to nose/pytest by default  duplicated binary Barry Warsaw <barry@debian.org> - 2015-10-14 16:20 +0200
        Re: pybuild: passing {dir}/tests to nose/pytest by default  duplicated binary Piotr Ożarowski <piotr@debian.org> - 2015-10-14 16:30 +0200
          Re: pybuild: passing {dir}/tests to nose/pytest by default  duplicated binary Barry Warsaw <barry@debian.org> - 2015-10-14 17:10 +0200
            Re: pybuild: passing {dir}/tests to nose/pytest by default Piotr Ożarowski <piotr@debian.org> - 2015-10-14 17:20 +0200
      Re: pybuild: passing {dir}/tests to nose/pytest by default duplicated binary Nikolaus Rath <Nikolaus@rath.org> - 2015-10-14 18:20 +0200

csiph-web