[PATCH] samba.netbios module Python 3 compatible

Andrew Bartlett abartlet at samba.org
Tue Jun 27 16:54:40 UTC 2017


On Tue, 2017-06-27 at 13:00 +0200, Lumir Balhar via samba-technical
wrote:
> Hello.
> 
> I've ported Python module samba.netbios to Python 3 compatible form.
> 
> As discussed before [0], it's really hard to write tests for modules 
> like this because it works mostly with networks. I've tried to write 
> some tests but I am only able test proper exceptions raising. I tested 
> ported module manually on my LAN.
> 
> [0] 
> https://lists.samba.org/archive/samba-technical/2017-June/120869.html 
> and https://lists.samba.org/archive/samba-technical/2017-May/120863.html
> 
> Thank you and have a nice day.

Sorry, ENOPATCH :-)

We have a full emulated network in make test, so network tests should
be entirely practical.  Mostly just run it in an environment (rather
than none) and have it interrogate $SERVER from the environment. 

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list