• 
      

    Include unverified issues in the review request approval state.

    Review Request #9170 — Created Sept. 4, 2017 and submitted

    Information

    Review Board
    release-3.0.x
    1c9e418...

    Reviewers

    If issues are waiting for verification, don't show the review request as
    approved.

    Ran unit tests.

    Description From Last Updated

    I know we don't have unit tests for this yet. Would you mind writing some, since you're modifying the logic?

    chipx86chipx86

    F841 local variable 'review' is assigned to but never used

    reviewbotreviewbot

    F841 local variable 'review' is assigned to but never used

    reviewbotreviewbot

    F811 redefinition of unused 'test_approval_states_open_issues' from line 630

    reviewbotreviewbot

    F841 local variable 'comment' is assigned to but never used

    reviewbotreviewbot

    No period.

    chipx86chipx86

    assertIsNone

    chipx86chipx86

    No period.

    chipx86chipx86

    No period.

    chipx86chipx86

    """ on the next line, and no period.

    chipx86chipx86
    chipx86
    1. 
        
    2. Show all issues

      I know we don't have unit tests for this yet. Would you mind writing some, since you're modifying the logic?

      1. What kind of test are you thinking? I don't see any way of testing this method that isn't just "duplicate the logic".

      2. We should have unit tests that test the default approved and unapproved states along with the descriptions, so any future logic changes don't regress, particularly if we ever end up weaving this in deeper with any other services down the road.

    3. 
        
    david
    Review request changed
    Commit:
    228ab6e36a0475cc31e1537e93820e588a628a25
    12e1cedd5155d612fdc84971ae45481672e9a200

    Checks run (1 failed, 1 succeeded)

    flake8 failed.
    JSHint passed.

    flake8

    david
    chipx86
    1. 
        
    2. Show all issues

      No period.

    3. Show all issues

      assertIsNone

    4. Show all issues

      No period.

    5. Show all issues

      No period.

    6. Show all issues

      """ on the next line, and no period.

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