• 
      

    Fix compatibility with newer kgb changes.

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

    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.