#731 Code completion does not work with Mocker

1.3.15
closed-works-for-me
5
2008-07-14
2008-06-16
Carlos Ble
No

Mocker is a mock objects library for python http://labix.org/mocker

Code sample:

import mocker

class MyTests(mocker.MockerTestCase):

def testWhatever(self):
mock = self.mocker.mock()

When writing self., it does not suggest mocker. Also, self.mocker. does not suggests mocker fields

Thanks

Discussion

  • Fabio Zadrozny

    Fabio Zadrozny - 2008-06-29
    • status: open --> pending-works-for-me
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-06-29

    Logged In: YES
    user_id=617340
    Originator: NO

    Strange, it seems to work here... It seems it could be a misconfiguration problem: if you added mocker.py later (after your interpreter was already set), you have to refresh it to get it to work (or this could be a bug in 1.3.15, as I've tested it against 1.3.18)

    Cheers,

    Fabio

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-works-for-me --> closed-works-for-me
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks