On Thu, 2009-03-26 at 09:16 +, Maurits van Rees wrote:
> Tim Knapp, on 2009-03-26:
> > On Wed, 2009-03-25 at 21:20 +0100, Dieter Maurer wrote:
> >> Tim Knapp wrote at 2009-3-23 18:21 +1300:
> >> >I would like to override the DateTime.DateTime class within my
On Wed, 2009-03-25 at 21:20 +0100, Dieter Maurer wrote:
> Tim Knapp wrote at 2009-3-23 18:21 +1300:
> >I would like to override the DateTime.DateTime class within my
> >functional tests. I have tried mocking (via mocker) and injecting the
> >subclassed DateTime class into sys.
Hi Chris,
On Mon, 2009-03-23 at 12:45 +, Chris Withers wrote:
> Tim Knapp wrote:
> > I would like to override the DateTime.DateTime class within my
> > functional tests. I have tried mocking (via mocker) and injecting the
> > subclassed DateTime class into sys.
On Mon, 2009-03-23 at 06:25 +0100, Andreas Jung wrote:
>
>
> On Mon, Mar 23, 2009 at 06:21, Tim Knapp wrote:
> Hi,
>
> I would like to override the DateTime.DateTime class within my
> functional tests.
> I have tried mocking (via m
Hi,
I would like to override the DateTime.DateTime class within my
functional tests. I have tried mocking (via mocker) and injecting the
subclassed DateTime class into sys.modules (results in a
TraversalError). The fartherest I've gotten is to set DateTime.DateTime
= MySubclassedDateTime in my tes