Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #107000 > unrolled thread
| Started by | David Palao <dpalao.python@gmail.com> |
|---|---|
| First post | 2016-04-14 16:28 +0200 |
| Last post | 2016-04-14 16:28 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: How to parameterize unittests David Palao <dpalao.python@gmail.com> - 2016-04-14 16:28 +0200
| From | David Palao <dpalao.python@gmail.com> |
|---|---|
| Date | 2016-04-14 16:28 +0200 |
| Subject | Re: How to parameterize unittests |
| Message-ID | <mailman.108.1460644129.15650.python-list@python.org> |
2016-04-14 16:08 GMT+02:00 Antoon Pardon <antoon.pardon@rece.vub.ac.be>: > > I have a unittest for my avltree module. > > Now I want this unittest to also run on a subclass of avltree. > How can I organise this, so that I can largely reuse the > original TestCase? > > -- > Antoon Pardon > -- > https://mail.python.org/mailman/listinfo/python-list First, is it necessary to test the functionality twice? If so then, why don't you simply subclass the original TestCase? Or am I missing the point of your question? Best
Back to top | Article view | comp.lang.python
csiph-web