dulwich-users team mailing list archive
-
dulwich-users team
-
Mailing list archive
-
Message #00449
Re: [PATCH 1/7] test_repository: Add setUp/tearDown to CreateRepositoryTests.
On Tue, 2010-12-21 at 14:50 -0800, dborowitz@xxxxxxxxxx wrote:
> From: Dave Borowitz <dborowitz@xxxxxxxxxx>
>
> Change-Id: I6cd56cca9a88dc457ebafbdd8176465c42490968
> ---
> dulwich/tests/test_repository.py | 26 ++++++++++++--------------
> 1 files changed, 12 insertions(+), 14 deletions(-)
>
> diff --git a/dulwich/tests/test_repository.py b/dulwich/tests/test_repository.py
> index 9c729e7..1fb874b 100644
> --- a/dulwich/tests/test_repository.py
> +++ b/dulwich/tests/test_repository.py
> @@ -56,6 +56,12 @@ missing_sha = 'b91fa4d900e17e99b433218e988c4eb4a3e9a097'
>
> class CreateRepositoryTests(TestCase):
>
> + def setUp(self):
> + self.tmp_dir = tempfile.mkdtemp()
> +
> + def tearDown(self):
> + shutil.rmtree(self.tmp_dir)
> +
Any chance you can resend this one with the calls to super.setUp() and
super.tearDown added?
Thanks!
Cheers,
Jelmer
Attachment:
signature.asc
Description: This is a digitally signed message part
References