bley
bley copied to clipboard
Documentation missing on doing tests
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,