Comment 2 for bug 401990

Revision history for this message
Gary Poster (gary) wrote :

Edited IRC log:

[11:37am] gary_poster: We could easily have buildout require lazr.restful for tests, and then remove the core dependency. However, philosophically, that means we don't have any assurance that lazr.restfulclient really works without that dependency (and even its dependencies!). Therefore, I kind of hate that approach.
[11:38am] gary_poster: Perhaps there is a middle ground.
[11:38am] wgrant: gary_poster: Well, depending on lazr.restful brings in dozens and dozens of completely unnecessary ZTK.
[11:38am] gary_poster: An option I've done in the past is to define two test suites
[11:38am] leonardr: i was going to suggest something like that
[11:38am] gary_poster: One test suite verifies basic operation with only standard dependencies...
[11:38am] gary_poster: ok
[11:39am] gary_poster: yeah, I'd be fine with that
[11:39am] leonardr: we do have some tests in lazr.restfulclient that run against fake wsgi 'web services'
[11:39am] leonardr: they don't do anything, but they prove that basic lazr.restfulclient functionality works
[11:39am] gary_poster: I'd be much happier with that. then.