launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #03308
Re: New feature in Launchpad TestCase base class
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/03/2010 09:47 PM, Tim Penhey wrote:
> This uses a Fixture that jml wrote a while ago for the scanner (which has
> since been removed). The fixture code was moved to lp.testing.fixture. If you
> have a need to use something in your tests that has a setUp and tearDown, you
> can define a fixture, and use the TestCase method installFixture.
This sounds a lot like a Context Manager. Should they be unified? If
not, how should we choose which to use?
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkvgIh0ACgkQ0F+nu1YWqI3seQCZAUj5OmttkMJye4rzC9ySnS27
dE8Anj0UrLT3GqM2KErZ4FLuepXRwPe6
=hjrl
-----END PGP SIGNATURE-----
Follow ups
References