Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation missing on doing tests #33

Open
ceprio opened this issue Feb 7, 2019 · 0 comments
Open

Documentation missing on doing tests #33

ceprio opened this issue Feb 7, 2019 · 0 comments

Comments

@ceprio
Copy link

ceprio commented Feb 7, 2019

Hi, this is a great utility and I have been using it for the last year but an issue is bugging me and I don't know how to run tests. It would be nice to have a minimum of documentation about testing.
In my mail.log file I get:

Feb 7 01:13:54 vps postfix/smtpd[24005]: warning: problem talking to server 127.0.0.1:1337: Connection refused

But bley is running according to ps -aux | grep bley:

bley 26463 0.0 3.5 103812 36472 ? S 02:57 0:00 /usr/bin/python3 /usr/local/bin/bley -p /var/run/bley/bley.pid -c /etc/bley/bley.conf -c /etc/bley/dbconfig-common.conf

So I would like to know if bley is responding to requests so I ran:

>>> import test.test_bley
>>> tc = test.test_bley.BleyTestCase()
>>> tc.test_zzz_greylisting()

<DeferredList at 0x7efc4d416898>

What is that DeferredList ?
Is there any way to do a simple test to see if bley is responding on 127.0.0.1:1337 ?

Thank you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant