Fix compatibility with newer kgb changes.

Review Request #9513 — Created Jan. 20, 2018 and submitted

Information

Review Board
release-3.0.x
707e57e...

Reviewers

kgb is getting a handful of changes to improve signature consistency and
compatibility across Python versions. As part of this, Review Board's
test suite needs a few changes.

Some fake functions passed when creating spies had incompatible function
signatures, which kgb is now strict about. Those have been updated
accordingly.

Some older tests were checking the args and kwargs of a spy call
directly, which failed due to how kgb is now storing this data. Those
have been replaced with called_with() statements instead.

Unit tests pass with the new kgb.

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-3.0.x (f7e3001)