• 
      

    tests for Python API client

    Review Request #3283 — Created Aug. 16, 2012 and submitted

    Information

    RBTools
    api

    Reviewers

    Provides a number of tests for the Factory, Resources, the Sync Transport, and HttpRequest for the new API.
    
    Acknowledgement: Alexander Solovets (mbait) provided the HttpRequest tests.
    All tests pass.
    Description From Last Updated

    assertIsInstance, assertIs, assertIsNone, assertIsNotNone, and maybe some others are only in Python 2.7. This file needs to be able to …

    chipx86chipx86
    chipx86
    1. 
        
    2. rbtools/api/tests.py (Diff revision 1)
       
       
      Show all issues
      assertIsInstance, assertIs, assertIsNone, assertIsNotNone, and maybe some others are only in Python 2.7. This file needs to be able to work without these functions.
    3. 
        
    SM
    chipx86
    1. I should have mentioned this before, but I didn't really notice it until I ran the tests.
      
      Tests need to have a one-line """docstring""" that describes the test, like RB's tests. This makes it easier to see what exactly is being tested when the tests run.
    2. 
        
    SM
    david
    1. Ship It!
    2. 
        
    chipx86
    1. Ship It!
    2. 
        
    SM
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to api (3936b56)