• 
      

    Simplify unit tests for Evolver.

    Review Request #11258 — Created Oct. 31, 2020 and submitted

    Information

    Django Evolution
    master

    Reviewers

    There's a lot of state in Evolver that the unit tests need to check,
    and this led to some verbose assertions, which would soon become more
    verbose.

    To keep things manageable, this change makes use of some new unit test
    additions for checking applied evolutions, adds a new method for
    checking migration plans, and updates stored migration plan state from
    signal emissions to help assert the contents.

    All unit tests pass.

    Summary ID
    Simplify unit tests for Evolver.
    There's a lot of state in `Evolver` that the unit tests need to check, and this led to some verbose assertions, which would soon become more verbose. To keep things manageable, this change makes use of some new unit test additions for checking applied evolutions, adds a new method for checking migration plans, and updates stored migration plan state from signal emissions to help assert the contents.
    398ddbae76e755046192b035d3ab635c444ef7a3
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (5379ebb)