← Back to team overview

zeitgeist team mailing list archive

Re: [Bug 486996] Re: testInsertGetWithoutTimestamp testcase fails

 

@Mikkel: OK I get ur point :)

2009/11/23 Mikkel Kamstrup Erlandsen <mikkel.kamstrup@xxxxxxxxx>

> @Seif: I wouldn't have to care about the timestamp format when sending
> events if my app doesn't need high precision timing. Just create the
> Event instance and send it along. Recall that not all apps will be
> written in Python and using our client libs...
>
> --
> testInsertGetWithoutTimestamp testcase fails
> https://bugs.launchpad.net/bugs/486996
> You received this bug notification because you are subscribed to The
> Zeitgeist Project.
>
> Status in Zeitgeist Engine: Triaged
>
> Bug description:
> Running
>   python test/resonance-engine-test.py
> I get one failed testcase
>
> ======================================================================
> FAIL: testInsertGetWithoutTimestamp (__main__.ZeitgeistEngineTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "test/resonance-engine-test.py", line 87, in
> testInsertGetWithoutTimestamp
>    self.assertTrue(ev.timestamp)
> AssertionError
>
> ----------------------------------------------------------------------
>
> I would have fixed this if I were totally sure what the correct fix is.
> Right now the default timestamp of an event is an empty string, which is why
> this testcase fails. Is this the expected behaviour, and should we fix the
> test. Or should the default timestamp be a string containing the timestamp
> of object creation time?
>
>

-- 
testInsertGetWithoutTimestamp testcase fails
https://bugs.launchpad.net/bugs/486996
You received this bug notification because you are a member of
Zeitgeist-Engine, which is the registrant for Zeitgeist Engine.

Status in Zeitgeist Engine: Triaged

Bug description:
Running
   python test/resonance-engine-test.py
I get one failed testcase

======================================================================
FAIL: testInsertGetWithoutTimestamp (__main__.ZeitgeistEngineTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/resonance-engine-test.py", line 87, in testInsertGetWithoutTimestamp
    self.assertTrue(ev.timestamp)
AssertionError

----------------------------------------------------------------------

I would have fixed this if I were totally sure what the correct fix is. Right now the default timestamp of an event is an empty string, which is why this testcase fails. Is this the expected behaviour, and should we fix the test. Or should the default timestamp be a string containing the timestamp of object creation time?



References