<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, 9 May 2017, 11:50 Gregory Salvan, <<a href="mailto:apieum@gmail.com" target="_blank">apieum@gmail.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It's to generic to have complex examples, but you really can test everything without writing data in files, and it's not really relevant to test if data are really written as it's the same as testing if there's no errors in python "open" implementation. I think we can trust python developpers for that ;)</div></blockquote></div><div><br></div><div>No, it's not just testing that open() works correctly, it's also testing that it's being called correctly in a real* live system. You seem to be advocating against functional tests as a concept?</div><div><br></div><div>*certainly more real than a system involving mocking open() in a unit test.</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">--<br>
Matt Wheeler<br>
<a href="http://funkyh.at">http://funkyh.at</a></p>
</div></div>