~ubuntu-branches/ubuntu/vivid/python-heatclient/vivid

« back to all changes in this revision

Viewing changes to heatclient/tests/test_common_http.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2015-03-12 10:43:34 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20150312104334-8e2j6r81g24r0h3y
Tags: 0.3.0-0ubuntu1
* New upstream release
* debian/control: Adjust dependencies. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
581
581
        headers = {'key': 'value'}
582
582
 
583
583
        mock_logging_debug = logging.Logger.debug(
584
 
            "curl -i -X GET -H 'key: value' --key TEST_KEY "
 
584
            "curl -g -i -X GET -H 'key: value' --key TEST_KEY "
585
585
            "--cert TEST_CERT --cacert TEST_CA "
586
586
            "-k -d 'text' http://foo/bar"
587
587
        )
672
672
        kwargs = {'headers': {'Key': b'foo\xe3\x8a\x8e'}}
673
673
 
674
674
        mock_logging_debug = logging.Logger.debug(
675
 
            u"curl -i -X GET -H 'Key: foo㊎' http://somewhere"
 
675
            u"curl -g -i -X GET -H 'Key: foo㊎' http://somewhere"
676
676
        )
677
677
        mock_logging_debug.AndReturn(None)
678
678