dulwich-users team mailing list archive
-
dulwich-users team
-
Mailing list archive
-
Message #00428
Re: Test runners, nose and python 2.7
On Mon, Dec 27, 2010 at 06:07:55PM -0800, Dave Borowitz wrote:
> Oh, and if I use nosetests manually, testtools is failing with a bunch of
> errors like the following. IIRC I mailed a change that fixes these, too.
>
> ======================================================================
> ERROR:
> dulwich.tests.test_repository.CreateRepositoryTests.test_create_memory
> ----------------------------------------------------------------------
> _StringException: Text attachment: traceback
> ------------
> Traceback (most recent call last):
> File
> "/home/dborowitz/.virtualenvs/dulwich/lib/python2.6/site-packages/testtools/runtest.py",
> line 169, in _run_user
> return fn(*args, **kwargs)
> File
> "/home/dborowitz/.virtualenvs/dulwich/lib/python2.6/site-packages/testtools/testcase.py",
> line 465, in _run_setup
> % self.__class__.__name__)
> ValueError: TestCase.setUp was not called. Have you upcalled all the way up
> the hierarchy from your setUp? e.g. Call super(CreateRepositoryTests,
> self).setUp() from your setUp().
I think this is specific to one of your patches that hasn't landed yet.
CreateRepositoryTests in trunk doesn't have a custom setUp() yet. Can you verify
with a clean trunk?
Cheers,
Jelmer
Follow ups
References
-
Test runners, nose and python 2.7
From: Jelmer Vernooij, 2010-12-26
-
Re: Test runners, nose and python 2.7
From: Augie Fackler, 2010-12-26
-
Re: Test runners, nose and python 2.7
From: Jelmer Vernooij, 2010-12-26
-
Re: Test runners, nose and python 2.7
From: Augie Fackler, 2010-12-26
-
Re: Test runners, nose and python 2.7
From: Jelmer Vernooij, 2010-12-26
-
Re: Test runners, nose and python 2.7
From: Augie Fackler, 2010-12-26
-
Re: Test runners, nose and python 2.7
From: Jelmer Vernooij, 2010-12-27
-
Re: Test runners, nose and python 2.7
From: Jelmer Vernooij, 2010-12-27
-
Re: Test runners, nose and python 2.7
From: Dave Borowitz, 2010-12-28
-
Re: Test runners, nose and python 2.7
From: Dave Borowitz, 2010-12-28