~ubuntu-branches/ubuntu/trusty/python-keystoneclient/trusty-proposed

« back to all changes in this revision

Viewing changes to keystoneclient/tests/test_shell.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2014-03-27 12:08:28 UTC
  • mfrom: (1.1.26)
  • Revision ID: package-import@ubuntu.com-20140327120828-yu3vm5g1v1pkl93w
Tags: 1:0.7.1-ubuntu1
New upstream release. (LP: #1298453)

Show diffs side-by-side

added added

removed removed

Lines of Context:
441
441
            'endpoints': [],
442
442
        })
443
443
        request_mock = mock.MagicMock(return_value=response_mock)
444
 
        with mock.patch.object(session.requests.Session, 'request',
 
444
        with mock.patch.object(session.requests, 'request',
445
445
                               request_mock):
446
446
            shell(('--timeout 2 --os-token=blah  --os-endpoint=blah'
447
447
                   ' --os-auth-url=blah.com endpoint-list'))