• 
      

    Move BaseWebAPITestCase and ValidateDiffResourceTests into new files.

    Review Request #4513 — Created Aug. 29, 2013 and submitted

    Information

    Review Board
    master

    Reviewers

    Move BaseWebAPITestCase and ValidateDiffResourceTests into new files.

    BaseWebAPITestCase has been moved into webapi/tests/base.py, and
    ValidateDiffResourceTests have been moved into
    webapi/tests/validate_diff.py.

    Unit tests pass.

    Description From Last Updated

    This shouldn't be necessary--nose should find it.

    daviddavid

    'ValidateDiffResourceTests' imported but unused

    reviewbotreviewbot

    Col: 80 E501 line too long (80 > 79 characters)

    reviewbotreviewbot

    Col: 17 E126 continuation line over-indented for hanging indent

    reviewbotreviewbot

    Col: 80 E501 line too long (81 > 79 characters)

    reviewbotreviewbot

    Col: 17 E126 continuation line over-indented for hanging indent

    reviewbotreviewbot

    Col: 80 E501 line too long (80 > 79 characters)

    reviewbotreviewbot

    Col: 80 E501 line too long (81 > 79 characters)

    reviewbotreviewbot
    reviewbot
    1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
      reviewboard/webapi/tests/validate_diff.py
      reviewboard/webapi/tests/base.py
      reviewboard/webapi/tests/init.py
      Ignored Files:

    2. reviewboard/webapi/tests/base.py (Diff revision 1)
       
       
      Show all issues

      Col: 80
      E501 line too long (80 > 79 characters)

    3. reviewboard/webapi/tests/base.py (Diff revision 1)
       
       
      Show all issues

      Col: 17
      E126 continuation line over-indented for hanging indent

    4. reviewboard/webapi/tests/base.py (Diff revision 1)
       
       
      Show all issues

      Col: 80
      E501 line too long (81 > 79 characters)

    5. reviewboard/webapi/tests/base.py (Diff revision 1)
       
       
      Show all issues

      Col: 17
      E126 continuation line over-indented for hanging indent

    6. Show all issues

      Col: 80
      E501 line too long (80 > 79 characters)

    7. Show all issues

      Col: 80
      E501 line too long (81 > 79 characters)

    8. 
        
    reviewbot
    1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
      reviewboard/webapi/tests/validate_diff.py
      reviewboard/webapi/tests/base.py
      reviewboard/webapi/tests/init.py
      Ignored Files:

    2. reviewboard/webapi/tests/__init__.py (Diff revision 1)
       
       
      Show all issues

      'ValidateDiffResourceTests' imported but unused

    3. 
        
    david
    1. 
        
    2. reviewboard/webapi/tests/__init__.py (Diff revision 1)
       
       
       
      Show all issues

      This shouldn't be necessary--nose should find it.

      1. It doesn't. I have to include that.

        It's probably because these tests are in init.py, I'd guess. I'll look into all this again when that file is fully split up and becomes blank, but for now, these need to stay in.

    3. 
        
    chipx86
    Review request changed
    Status:
    Completed