Fix incompatibilities with newer changes from kgb.

Review Request #9521 — Created Jan. 23, 2018 and submitted

Information

Djblets
release-1.0.x
e405442...

Reviewers

kgb's signature compatibility is getting more strict, and we have a few
functions passed in that don't match the signatures for the original
functions. We also have a direct assignment for a variable to reset the
calls on a spy, which wasn't correct.

This change fixes both by using the proper variable names for the
function being overridden and calling reset_calls() to reset the call
state.

Unit tests pass with the new kgb and old kgb.

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (dc0289f)
Loading...