<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toritori0318</author_name>
  <author_url>https://blog.hatena.ne.jp/toritori0318/</author_url>
  <blog_title>アルパカDiary Pro</blog_title>
  <blog_url>https://toritori0318.hatenadiary.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>テスト</anon>
  </categories>
  <description>Mockモジュールでもいいっちゃいいんだけど 偶然見つけたので試してみた。 HTTPretty https://github.com/gabrielfalcao/HTTPretty GETを奪う HTTPretty.register_uriで奪いたいURLと期待するレスポンスを書くだけでOK。 # encoding:utf-8 import unittest from httpretty import HTTPretty, httprettified from httpretty import from urllib import urlencode from urllib2 import u…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoritori0318.hatenadiary.jp%2Fentry%2F20130403%2F1364993899&quot; title=&quot;python - HTTPrettyでhttp通信を奪う - アルパカDiary Pro&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-04-03 21:58:19</published>
  <title>python - HTTPrettyでhttp通信を奪う</title>
  <type>rich</type>
  <url>https://toritori0318.hatenadiary.jp/entry/20130403/1364993899</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
