load_tests is in python 2.7 (with a slightly different signature); it would be nice to adapt to that.
Doing load_tests = load_tests_from_scenarios (perhaps it would be better to say 'load_tests_apply_scenarios', but - *blue*) is pretty pithy, explicit and not terrible.
Doing a global is fine to - you could simply use generate_scenarios in bzrlib.test_suite()
381 + # XXX: this is strange; the 'random' name below seems undefined and
382 + # yet the tests pass -- mbp 2010-10-11
383 + raise AssertionError()
Looks like you can't land it like this?
This looks lovely. I would love to see a patch with the missing bits put into testscenarios.
load_tests is in python 2.7 (with a slightly different signature); it would be nice to adapt to that.
Doing load_tests = load_tests_ from_scenarios (perhaps it would be better to say 'load_tests_ apply_scenarios ', but - *blue*) is pretty pithy, explicit and not terrible.
Doing a global is fine to - you could simply use generate_scenarios in bzrlib.test_suite()
381 + # XXX: this is strange; the 'random' name below seems undefined and
382 + # yet the tests pass -- mbp 2010-10-11
383 + raise AssertionError()
Looks like you can't land it like this?
This looks lovely. I would love to see a patch with the missing bits put into testscenarios.