python-bloomfilter icon indicating copy to clipboard operation
python-bloomfilter copied to clipboard

pytest runs files named test_*

Open tivvit opened this issue 9 years ago • 9 comments

Current implementation is not testing at all :wink: https://travis-ci.org/jaybaird/python-bloomfilter/jobs/89314785

============================= test session starts ==============================
platform linux2 -- Python 2.6.9 -- py-1.4.26 -- pytest-2.6.4
collected 0 items 

tivvit avatar Jan 29 '16 19:01 tivvit

after fix: https://travis-ci.org/jaybaird/python-bloomfilter/jobs/105753930

============================= test session starts ==============================
platform linux3 -- Python 2.6.9, pytest-2.8.5, py-1.4.31, pluggy-0.3.1
rootdir: /home/travis/build/jaybaird/python-bloomfilter, inifile: 
collected 7 items 
pybloom/test_pybloom.py .......
================= 7 passed, 1 pytest-warnings in 1.09 seconds ==================

tivvit avatar Jan 29 '16 19:01 tivvit

You need to change the (test) file name on https://github.com/joseph-fox/python-bloomfilter/blob/master/tox.ini#L5 too.

joseph-fox avatar Feb 09 '16 23:02 joseph-fox

fixed, thanks for noticing

tivvit avatar Feb 10 '16 11:02 tivvit

I made a PR months ago, and there has never been a reply or a comment. I am wondering if you are happy to make a PR against my master, so we can continue maintaining this project.

joseph-fox avatar Feb 10 '16 12:02 joseph-fox

I have no problem with that, but I would like to ask if you have any idea how to get your fork to pip?

tivvit avatar Feb 11 '16 08:02 tivvit

The submission of pypi isn't complicated. I will register an account and look at setup.py, setup.cfg in the next few days.

joseph-fox avatar Feb 11 '16 11:02 joseph-fox

I have published some packages to pip, but I am afraid that we will have to publish our version under different name.

tivvit avatar Feb 13 '16 10:02 tivvit

Sure. :100: no problem.

joseph-fox avatar Feb 13 '16 13:02 joseph-fox

It is on Pypi now. https://pypi.python.org/pypi/pybloom_live

joseph-fox avatar Feb 13 '16 19:02 joseph-fox