zaccone / spf

Sender Policy Framework
MIT License
19 stars 6 forks source link

Improve parser tests #14

Open zaccone opened 7 years ago

zaccone commented 7 years ago

The tests run local simplified DNS server. There is lot of repetitive code and most of the logic there is preparing DNS server and responses. Also, the "server" is not a real server and it doesn't always behave correctly (e.g. it can return values not exacly for requested host).

The logic should be improved, repetitive code removed.