Cannot use invokedInOrder for the 1st statement.

Bug #1074620 reported by Olivier Kozak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mocki
Status tracked in Trunk
Trunk
Fix Released
High
Olivier Kozak

Bug Description

Here is how to reproduce the problem :
>>> from mocki import Mock

>>> mock = Mock('theMock')

>>> mock.method()
>>> mock.otherMethod()

>>> mock.method.verifyCall().invokedInOrder()
Traceback (most recent call last):
...
AssertionError: Found one matching call invoked from theMock.method up to now, but not in order :
  [1] theMock.method()
   2 theMock.otherMethod()

Changed in mocki:
assignee: nobody → Olivier Kozak (olivier-kozak)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.