# -*- encoding: utf-8 -*-

PHOTO_XML = u'''<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
  <photo id="7955646798" secret="bc817069a3" server="8313" farm="9" dateuploaded="1347115742" isfavorite="0" license="3" safety_level="0" rotation="0" originalsecret="5849624c2e" originalformat="jpg" views="596" media="photo">
    <owner nsid="73509078@N00" username="Sybren A. Stüvel" realname="Sybren Stüvel" location="The Netherlands" iconserver="8546" iconfarm="9" path_alias="sybrenstuvel" />
    <title>Drowned trees</title>
    <description>Near our camping in Belavići, Croatia.</description>
    <visibility ispublic="1" isfriend="0" isfamily="0" />
    <dates posted="1347115742" taken="2012-09-08 16:48:07" takengranularity="0" takenunknown="0" lastupdate="1434235155" />
    <editability cancomment="0" canaddmeta="0" />
    <publiceditability cancomment="1" canaddmeta="1" />
    <usage candownload="1" canblog="0" canprint="0" canshare="1" />
    <comments>3</comments>
    <notes />
    <people haspeople="0" />
    <tags>
      <tag id="6764206-7955646798-652" author="73509078@N00" authorname="Sybren A. Stüvel" raw="6x6" machine_tag="0">6x6</tag>
      <tag id="6764206-7955646798-491152" author="73509078@N00" authorname="Sybren A. Stüvel" raw="Hasselblad 500 C/M" machine_tag="0">hasselblad500cm</tag>
    </tags>
    <location latitude="45.419658" longitude="15.480211" accuracy="15" context="0" place_id="Ht8GcS9ZVrxbLaM" woeid="846766">
      <locality place_id="Ht8GcS9ZVrxbLaM" woeid="846766">Belavici</locality>
      <county place_id="K4snYB5QV7r4n9bE0Q" woeid="15022066">Duga Resa</county>
      <region place_id="yFeozQpQUL9pVijR4Q" woeid="12577975">Karlovac</region>
      <country place_id="FunRCI5TUb6a6soTyw" woeid="23424843">Croatia</country>
    </location>
    <geoperms ispublic="1" iscontact="0" isfriend="0" isfamily="0" />
    <urls>
      <url type="photopage">https://www.flickr.com/photos/sybrenstuvel/7955646798/</url>
    </urls>
  </photo>
</rsp>'''

KITTEN_SEARCH_XML = u'''<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
  <photos page="1" pages="3617" perpage="100" total="361690">
    <photo id="26390287861" owner="108244948@N03" secret="4c3c65d5ee" server="1521" farm="2" title="16/04/16" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26456455985" owner="108244948@N03" secret="c62bf05770" server="1547" farm="2" title="16/04/16" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26364138112" owner="108244948@N03" secret="d0ff6ceb8d" server="1704" farm="2" title="16/04/16" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25851582164" owner="108244948@N03" secret="0b15c888aa" server="1620" farm="2" title="16/04/16" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26183603920" owner="108244948@N03" secret="751a8566d7" server="1573" farm="2" title="16/04/16" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26364133682" owner="108244948@N03" secret="11e62ea956" server="1600" farm="2" title="16/04/16" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26390281991" owner="108244948@N03" secret="a497aff262" server="1595" farm="2" title="16/04/16" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26430533896" owner="108244948@N03" secret="dd4aecef10" server="1603" farm="2" title="16/04/16" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26364131332" owner="108244948@N03" secret="aeb4dbf61e" server="1661" farm="2" title="16/04/16" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26429337206" owner="33297917@N07" secret="9066d348ba" server="1601" farm="2" title="cats" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25852433623" owner="33297917@N07" secret="a1d95b8b9f" server="1509" farm="2" title="cats" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26362929552" owner="33297917@N07" secret="7f1dd1daab" server="1475" farm="2" title="cats" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26389091921" owner="33297917@N07" secret="9a5a4f4de2" server="1492" farm="2" title="cats" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25852433413" owner="33297917@N07" secret="99dd1e3fce" server="1571" farm="2" title="cats" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26429336836" owner="33297917@N07" secret="8381180a72" server="1576" farm="2" title="cats" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26360458082" owner="74273511@N00" secret="fd6e8c651c" server="1715" farm="2" title="" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26178999900" owner="11956796@N06" secret="35f1f1244a" server="1681" farm="2" title="Furter" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26424057496" owner="44094826@N08" secret="b6da59525f" server="1570" farm="2" title="Slumber - Original drawing of a sleeping cat by Rebecca Rees" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26449481325" owner="51614258@N00" secret="8011d72c50" server="1626" farm="2" title="Masai" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25846453063" owner="137391246@N05" secret="91618cd18d" server="1552" farm="2" title="April Challenge 15" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25845514943" owner="140214426@N06" secret="200d7d4fa9" server="1487" farm="2" title="Black Cat White Cat" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25842799704" owner="33113604@N03" secret="0e62250277" server="1565" farm="2" title="Kitty - almost one year ago" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26421594526" owner="23764737@N05" secret="5e2259e3c4" server="1477" farm="2" title="a6300" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26381330761" owner="23764737@N05" secret="14c1257701" server="1508" farm="2" title="a6300" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26174026700" owner="23187053@N04" secret="e433964fcb" server="1563" farm="2" title="Totoro as a kitten (6 month)" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26354500692" owner="57256462@N07" secret="22f2ba8688" server="1485" farm="2" title="Yawning" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25841277174" owner="9935660@N07" secret="93d51f3a42" server="1624" farm="2" title="Nowhere to Be (But Here)" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26445750995" owner="130427065@N06" secret="a7f04c9c30" server="1682" farm="2" title="Peppa The Bengal" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25840372094" owner="140214426@N06" secret="b8c4c67e13" server="1542" farm="2" title="OO" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26378521671" owner="63189170@N04" secret="2583625c1e" server="1533" farm="2" title="Panda with a kitten wedding cake topper" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26444697395" owner="48530629@N05" secret="eef2234c85" server="1529" farm="2" title="Kiku 菊" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26171791060" owner="63189170@N04" secret="858febb2e4" server="1549" farm="2" title="kitty and Cat wedding cake topper" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26443958835" owner="118115793@N05" secret="6a69367e7b" server="1475" farm="2" title="なんかあんの？" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26376195391" owner="87141396@N05" secret="dccd513160" server="1517" farm="2" title="Her name, Love." ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26168254970" owner="129135752@N08" secret="27e84d86e2" server="1461" farm="2" title="Cat sleeping on the temple walltemple," ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25837675713" owner="8827284@N06" secret="8e69a12e72" server="1552" farm="2" title="CAT 84: I‘m here." ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26347764092" owner="140214426@N06" secret="6f532f1241" server="1548" farm="2" title="WHAT?" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26167084800" owner="122851197@N03" secret="eaafa952e9" server="1658" farm="2" title="Kedicik" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25834172094" owner="50732588@N00" secret="04f2eb975e" server="1700" farm="2" title="Maja the cat" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26438995435" owner="100291372@N03" secret="d9e15cb759" server="1538" farm="2" title="Little girl with kitten" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26346585262" owner="140214426@N06" secret="045f5da084" server="1600" farm="2" title="Hidden Cat Surprised" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25835578903" owner="13496783@N06" secret="64332012b5" server="1677" farm="2" title="Urban wildlife outtake" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25835578453" owner="13496783@N06" secret="9439dca9b9" server="1652" farm="2" title="What's new pussycat? | 15/52 | 2016 | Theme: Urban Wildlife" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26412346186" owner="45167040@N04" secret="dca1b3b775" server="1704" farm="2" title="Ooooppsss" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26412155796" owner="31840973@N02" secret="24580fba90" server="1523" farm="2" title="Bindi" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26345735562" owner="31840973@N02" secret="4f409a6b09" server="1684" farm="2" title="Bosco" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26438056895" owner="31840973@N02" secret="b1f26d5677" server="1660" farm="2" title="Penelope" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25835237383" owner="31840973@N02" secret="bb1c806b7c" server="1548" farm="2" title="Maggie" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26165215990" owner="31840973@N02" secret="2b7eacca6a" server="1445" farm="2" title="Sylvester" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26438056775" owner="31840973@N02" secret="3fbdc00e40" server="1690" farm="2" title="Millie" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26412132396" owner="31840973@N02" secret="56b580ce2e" server="1454" farm="2" title="Mittens" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26371870191" owner="31840973@N02" secret="d1f1797a74" server="1678" farm="2" title="Razor" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26345735162" owner="31840973@N02" secret="d79af86c34" server="1472" farm="2" title="T-Bone &amp; Razor" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26344631062" owner="57787144@N04" secret="d9d3984a5d" server="1620" farm="2" title="" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26163210180" owner="71085720@N00" secret="cd4089bf60" server="1551" farm="2" title="♫ They call me The Plant Killer. The fuzz ball of looove ♫" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26343487332" owner="53546771@N03" secret="faa7118661" server="1540" farm="2" title="Lifou Foliage- Can you see the Kitten?" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26435648415" owner="123760573@N06" secret="421d50bdd9" server="1672" farm="2" title="Making A New Friend" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26369368801" owner="7843611@N02" secret="df22fc898e" server="1479" farm="2" title="NILLA 0059" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26351405551" owner="123405646@N04" secret="d311387138" server="1511" farm="2" title="Lynx Straps by Sweet Thing. @ ROMP" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26408273336" owner="140214426@N06" secret="b159e48d72" server="1653" farm="2" title="Hidden Cat" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26341830162" owner="64849651@N07" secret="907b296137" server="1448" farm="2" title="kittens (1)" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26161315820" owner="64849651@N07" secret="a6058be31f" server="1494" farm="2" title="kittens (2)" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26341827982" owner="64849651@N07" secret="b14a33973c" server="1620" farm="2" title="kittens (3)" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26161313880" owner="64849651@N07" secret="a801df91e1" server="1584" farm="2" title="kittens (4)" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26367978771" owner="64849651@N07" secret="00b19ccd68" server="1450" farm="2" title="kittens (5)" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25831298993" owner="33554601@N05" secret="e7c00cc7a5" server="1707" farm="2" title="Hello World!" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26433852265" owner="16588018@N00" secret="48367090b0" server="1708" farm="2" title="Ingenue :: Audrey Heels" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26161004000" owner="16588018@N00" secret="08a2846537" server="1686" farm="2" title="Ingenue :: Audrey Heels [Fifty Linden Fridays]" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25830488283" owner="140224355@N06" secret="e143f57790" server="1650" farm="2" title="Timoteo" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26407259636" owner="131475675@N08" secret="6e2715994a" server="1534" farm="2" title="No, I Don't Want The Toy" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26406989916" owner="67229223@N05" secret="f395ca03d9" server="1447" farm="2" title="No Spring Kitten" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26406861666" owner="51614258@N00" secret="3a87cd2664" server="1683" farm="2" title="Mara" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26405850286" owner="140214426@N06" secret="1d653a1165" server="1677" farm="2" title="Cat and Guitar" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26431636285" owner="19245852@N00" secret="2dc3f1ac3d" server="1607" farm="2" title="Sleeping Cotton" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26431635765" owner="19245852@N00" secret="6aa5efa39e" server="1678" farm="2" title="Cotton Watching Me" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26339299822" owner="19245852@N00" secret="2857f16d0f" server="1443" farm="2" title="IMG_3881" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25826783534" owner="19245852@N00" secret="e417a9fe7e" server="1634" farm="2" title="Cotton Helping with Pictures" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25826782834" owner="19245852@N00" secret="2dac6279ed" server="1572" farm="2" title="Mauer and Cotton Plotting an Escape" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25826760654" owner="124328204@N08" secret="d80025f0c0" server="1538" farm="2" title="Family Pics 80s" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25826227204" owner="138080355@N08" secret="dc6ec82bb3" server="1625" farm="2" title="Increase." ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26430534775" owner="57628635@N07" secret="1c61d00ce7" server="1519" farm="2" title="Chanél" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26430783155" owner="139956364@N05" secret="29338947d7" server="1496" farm="2" title="‼️⌛️ Plus que 24h ⌛️‼️ pour tenter de remporter le costume @Funidelia de votre choix (super-héros, Star Wars, Lady Gaga...) et à la taille de votre chien. Il y aura 2 gagnants ! 💻 Je vous parle aussi de leurs c" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26338104462" owner="30389998@N03" secret="789578d80a" server="1698" farm="2" title="'Kedi', Büyükada, Princes' Islands, Istanbul" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26157603210" owner="43422804@N02" secret="78cd4e46bf" server="1567" farm="2" title="Playtime...!!!" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26361654341" owner="58649403@N02" secret="00640dd545" server="1649" farm="2" title="Cat Napping" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26401881576" owner="47435431@N05" secret="30c5f829a7" server="1475" farm="2" title="20160403-IMGP4818-편집" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26361632341" owner="47435431@N05" secret="6a06db3087" server="1665" farm="2" title="20160403-IMGP4813-편집" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26151639980" owner="98563408@N00" secret="767559f039" server="1492" farm="2" title="Tangerine-adopted" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26331721492" owner="99117316@N03" secret="7c9bb751af" server="1572" farm="2" title="A rat want to drive a computer" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25821143123" owner="23416852@N00" secret="7717b67263" server="1528" farm="2" title="Levi 11 weeks old" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26397447666" owner="79840505@N07" secret="2e88546601" server="1523" farm="2" title="You know Life's Good thing there is a tomorrow. (In Your Heart)" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25818378774" owner="39683033@N08" secret="f8a1a73129" server="1535" farm="2" title="Clem Thursday: Sleepy..." ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25814723494" owner="9100973@N06" secret="1bbea4eebd" server="1637" farm="2" title="IMGQ4826.jpg" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26327194402" owner="9100973@N06" secret="5a8c66e3c9" server="1593" farm="2" title="IMGQ4801.jpg" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26146626510" owner="9100973@N06" secret="1d3312d754" server="1662" farm="2" title="IMGQ4800.jpg" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26353256721" owner="9100973@N06" secret="a567decfda" server="1454" farm="2" title="IMGQ4785.jpg" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25816622443" owner="9100973@N06" secret="9e2774c767" server="1709" farm="2" title="IMGQ4750.jpg" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26419369725" owner="9100973@N06" secret="1b98807db7" server="1578" farm="2" title="IMGQ4749.jpg" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="26352641041" owner="24922070@N08" secret="daf1930dc8" server="1626" farm="2" title="104/366 Kitty Nose." ispublic="1" isfriend="0" isfamily="0" />
    <photo id="25829379693" owner="27753180@N00" secret="e235f38091" server="1515" farm="2" title="14: Gumby just wanted to be friends" ispublic="1" isfriend="0" isfamily="0" />
  </photos>
</rsp>'''

UPLOAD_XML = u'''<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
    <photoid>1234</photoid>
</rsp>'''

WALK_PAGE_1_XML = u'''<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
  <photos page="1" pages="3" perpage="4" total="31">
    <photo id="11192308693" owner="147501035@N04" secret="1466927631" server="753" farm="1" title="DSC_3393.jpg" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="11853287542" owner="92763341@N00" secret="80e61860a7" server="486" farm="1" title="PC310058.jpg" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="11627471650" owner="145345281@N05" secret="74492150ae" server="632" farm="1" title="Photo" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="11161255944" owner="126092434@N02" secret="8c049e3198" server="465" farm="1" title="source @Project Blowed•LA" ispublic="1" isfriend="0" isfamily="0" />
  </photos>
</rsp>'''

WALK_PAGE_2_XML = u'''<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
  <photos page="2" pages="3" perpage="4" total="22">
    <photo id="21627488910" owner="25021694@N08" secret="a89d891a4c" server="606" farm="1" title="" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="21884772401" owner="145760962@N05" secret="30b39b4646" server="268" farm="1" title="PICTURE 1 (134)" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="21161270134" owner="142776300@N05" secret="85d181ec10" server="5760" farm="6" title="Nekoliko promena u dnevnoj rutini i poboljšajte metabolizam!" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="21964432216" owner="146860704@N06" secret="96302704ef" server="750" farm="1" title="1004-2" ispublic="1" isfriend="0" isfamily="0" />
  </photos>
</rsp>'''

WALK_PAGE_3_XML = u'''<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
  <photos page="3" pages="3" perpage="4" total="11">
    <photo id="32001923265" owner="147501035@N04" secret="125a110f5a" server="437" farm="1" title="DSC_3394.jpg" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="31964437076" owner="81296978@N00" secret="326214aa88" server="257" farm="1" title="" ispublic="1" isfriend="0" isfamily="0" />
    <photo id="32001922675" owner="147501035@N04" secret="b360d5c383" server="567" farm="1" title="DSC_3380.jpg" ispublic="1" isfriend="0" isfamily="0" />
  </photos>
</rsp>'''
