Hello!
> I guess that the test runner tries to call "test_bla()" automatically.
> How can I prevent that?
Is it possible to move tast_bla() method to other class? You can
create an instance of this class in the setUp() method of SomeTest and
use it in all test cases.
--~--~-~--~~
On Wed, Jun 25, 2008 at 8:55 AM, Julien <[EMAIL PROTECTED]> wrote:
>
> I guess that the test runner tries to call "test_bla()" automatically.
> How can I prevent that?
You can't. This is by design of unittest.TestCase - any method
starting with 'test_' is found an executed as a test case.
The wo
Hi,
I'm making some regression tests for Django, and there's a problem I
can't get around. Here's the code:
class SomeTest(TestCase):
def test_bla(self, an_argument):
def test_something(self):
self.test_bla("blablabla")
self.test_bla("foo")
Whe
3 matches
Mail list logo