Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797376 - dev-python/agate-dbf: missing tests
Summary: dev-python/agate-dbf: missing tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 784263
  Show dependency tree
 
Reported: 2021-06-21 14:53 UTC by Michał Górny
Modified: 2021-06-22 02:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-06-21 14:53:11 UTC
Upstream repo definitely has tests.
Comment 1 Zac Medico gentoo-dev 2021-06-22 01:39:52 UTC
The tests are available in github, but they're missing from the pypi tarball:

> $ curl -sS https://files.pythonhosted.org/packages/54/70/a32dfaa47cb7b4e4d70aff67d89c32984085b946442d26a9d9fca7d96d8b/agate-dbf-0.2.2.tar.gz | tar --list -zv
> drwxr-xr-x james/staff       0 2020-07-07 10:36 agate-dbf-0.2.2/
> -rw-r--r-- james/staff    2457 2020-07-07 10:36 agate-dbf-0.2.2/PKG-INFO
> drwxr-xr-x james/staff       0 2020-07-07 10:36 agate-dbf-0.2.2/agatedbf/
> -rw-r--r-- james/staff      45 2019-02-23 10:28 agate-dbf-0.2.2/agatedbf/__init__.py
> -rw-r--r-- james/staff     655 2020-07-07 10:31 agate-dbf-0.2.2/agatedbf/table.py
> -rw-r--r-- james/staff      55 2020-01-28 12:29 agate-dbf-0.2.2/MANIFEST.in
> -rw-r--r-- james/staff    1099 2019-02-23 10:28 agate-dbf-0.2.2/COPYING
> -rw-r--r-- james/staff    1473 2020-07-07 10:34 agate-dbf-0.2.2/setup.py
> -rw-r--r-- james/staff     121 2019-02-23 10:28 agate-dbf-0.2.2/AUTHORS.rst
> -rw-r--r-- james/staff      67 2020-07-07 10:36 agate-dbf-0.2.2/setup.cfg
> drwxr-xr-x james/staff       0 2020-07-07 10:36 agate-dbf-0.2.2/agate_dbf.egg-info/
> -rw-r--r-- james/staff    2457 2020-07-07 10:36 agate-dbf-0.2.2/agate_dbf.egg-info/PKG-INFO
> -rw-r--r-- james/staff     264 2020-07-07 10:36 agate-dbf-0.2.2/agate_dbf.egg-info/SOURCES.txt
> -rw-r--r-- james/staff      28 2020-07-07 10:36 agate-dbf-0.2.2/agate_dbf.egg-info/requires.txt
> -rw-r--r-- james/staff       9 2020-07-07 10:36 agate-dbf-0.2.2/agate_dbf.egg-info/top_level.txt
> -rw-r--r-- james/staff       1 2020-07-07 10:36 agate-dbf-0.2.2/agate_dbf.egg-info/dependency_links.txt
> -rw-r--r-- james/staff    1007 2019-02-23 10:28 agate-dbf-0.2.2/README.rst
> 
> $ curl -sSL https://github.com/wireservice/agate-dbf/archive/refs/tags/0.2.2.tar.gz | tar --list -zv
> drwxrwxr-x root/root         0 2020-07-07 10:34 agate-dbf-0.2.2/
> -rw-rw-r-- root/root        94 2020-07-07 10:34 agate-dbf-0.2.2/.gitignore
> -rw-rw-r-- root/root       322 2020-07-07 10:34 agate-dbf-0.2.2/.travis.yml
> -rw-rw-r-- root/root       121 2020-07-07 10:34 agate-dbf-0.2.2/AUTHORS.rst
> -rw-rw-r-- root/root       452 2020-07-07 10:34 agate-dbf-0.2.2/CHANGELOG.rst
> -rw-rw-r-- root/root      1099 2020-07-07 10:34 agate-dbf-0.2.2/COPYING
> -rw-rw-r-- root/root        55 2020-07-07 10:34 agate-dbf-0.2.2/MANIFEST.in
> -rw-rw-r-- root/root      1007 2020-07-07 10:34 agate-dbf-0.2.2/README.rst
> drwxrwxr-x root/root         0 2020-07-07 10:34 agate-dbf-0.2.2/agatedbf/
> -rw-rw-r-- root/root        45 2020-07-07 10:34 agate-dbf-0.2.2/agatedbf/__init__.py
> -rw-rw-r-- root/root       655 2020-07-07 10:34 agate-dbf-0.2.2/agatedbf/table.py
> drwxrwxr-x root/root         0 2020-07-07 10:34 agate-dbf-0.2.2/docs/
> -rw-rw-r-- root/root      4598 2020-07-07 10:34 agate-dbf-0.2.2/docs/Makefile
> -rw-rw-r-- root/root      7302 2020-07-07 10:34 agate-dbf-0.2.2/docs/conf.py
> -rw-rw-r-- root/root       959 2020-07-07 10:34 agate-dbf-0.2.2/docs/index.rst
> -rwxrwxr-x root/root       137 2020-07-07 10:34 agate-dbf-0.2.2/example.py
> drwxrwxr-x root/root         0 2020-07-07 10:34 agate-dbf-0.2.2/examples/
> -rw-rw-r-- root/root      1314 2020-07-07 10:34 agate-dbf-0.2.2/examples/test.dbf
> -rw-rw-r-- root/root       896 2020-07-07 10:34 agate-dbf-0.2.2/examples/testdbf_converted.csv
> -rw-rw-r-- root/root       135 2020-07-07 10:34 agate-dbf-0.2.2/requirements-py2.txt
> -rw-rw-r-- root/root       103 2020-07-07 10:34 agate-dbf-0.2.2/requirements-py3.txt
> -rw-rw-r-- root/root        28 2020-07-07 10:34 agate-dbf-0.2.2/setup.cfg
> -rw-rw-r-- root/root      1473 2020-07-07 10:34 agate-dbf-0.2.2/setup.py
> drwxrwxr-x root/root         0 2020-07-07 10:34 agate-dbf-0.2.2/tests/
> -rw-rw-r-- root/root         0 2020-07-07 10:34 agate-dbf-0.2.2/tests/__init__.py
> -rw-rw-r-- root/root       574 2020-07-07 10:34 agate-dbf-0.2.2/tests/test_table.py
> -rw-rw-r-- root/root       346 2020-07-07 10:34 agate-dbf-0.2.2/tox.ini
Comment 2 Larry the Git Cow gentoo-dev 2021-06-22 02:27:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be12e004d03f9471d9b688c6d1ff9a8412a5f2c

commit 9be12e004d03f9471d9b688c6d1ff9a8412a5f2c
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2021-06-22 02:11:44 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2021-06-22 02:23:39 +0000

    dev-python/agate-dbf: Enable unit tests (bug 797376)
    
    tests/test_table.py::TestDBF::test_from_dbf PASSED                                                                                                                                     [100%]
    
    Closes: https://bugs.gentoo.org/797376
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 dev-python/agate-dbf/Manifest               |  3 +++
 dev-python/agate-dbf/agate-dbf-0.2.2.ebuild | 41 ++++++++++++++++++++++++++---
 2 files changed, 41 insertions(+), 3 deletions(-)