Attached is a patch adding tests for debsources.fs_storage, whose
coverage is now 95% (formerly 70%), as well as a patch adding tests for
debsources.hashutil, whose coverage is now 100% (formerly 71%).
It might be a good idea to set the attribute of test_filetype,
test_fs_storage and test_hashuti
On Wed, Apr 01, 2015 at 05:02:29PM +0200, Clément Schreiner wrote:
> Attached is a patch adding tests for debsources.filetype. They were all
> created from Matthieu's assertions in __main__.
>
> I'm not sure whether I was right to create a new file and a new attribute
> ('filetype') for these test
Attached is a patch adding tests for debsources.filetype. They were all
created from Matthieu's assertions in __main__.
I'm not sure whether I was right to create a new file and a new attribute
('filetype') for these tests; I'll amend the commit according to your
comments.
filetype.py's coverage
Package: qa.debian.org
Severity: wishlist
User: qa.debian@packages.debian.org
Usertags: debsources
Debsources' test coverage is decent:
/srv/debsources$ nosetests --with-coverage debsources/ -v
--cover-package=debsources
[...]
/srv/debsources$ python-coverage report
Name
4 matches
Mail list logo