Override session cookies with username flag

Review Request #7289 — Created May 6, 2015 and submitted

Information

RBTools
release-0.7.x
84a8ec3...

Reviewers

Previously, when the --username flag was provided to RBTools and a
session cookie already existed, RBTools would prompt for the password
but never use it (because of the session cookie). We now clear the
session cookie when the --username flag is given.

Ran unit tests.

Attempted to post a review request with the --username parameter and
a bogus password; the review request was not created. It was created
when the correct password was used.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        rbtools/api/request.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        rbtools/api/request.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.7.x (6419501)