Opened 4 years ago

Closed 4 years ago

#7686 closed defect (fixed)

fix for mocking.mock_method

Reported by: robinson Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords: test
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:



Per our discussion on tor-dev, I fixed mocking.mock_method.

Pull the fix-mock_method branch from git:// or view commit logs @

Child Tickets

Change History (1)

comment:1 Changed 4 years ago by atagar

  • Resolution set to fixed
  • Status changed from new to closed

Nice, I wouldn't have guessed that setattr() would do the trick. This will be very, very handy for future unit tests - thanks!

Note: See TracTickets for help on using tickets.