Hi Dirk,

> Provide project and user objects for test cases through inheritance.
> Just derive from BaseFixtureTestCase instead of the normal TestCase.
> The provided objects are accessible as attributes.

Looks good, seems like a good direction to go in.

Do you think this would work as a stand-alone object, rather than one
that is inherited by test cases? (ie, replacing the tests.utils.defaults
object) I already have some inheritance in the current tests, and would
rather avoid using multiple inheritance if at all possible.

Cheers,


Jeremy

_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to