1
Test that we can display the branch page for Thunderbird mainline.
5
... GET /people/stevea/+branch/thunderbird/thunderbird@arch.ubuntu.com_thunderbird--MAIN--0 HTTP/1.1
9
Content-Type: text/html;charset=utf-8
12
<title>Bazaar Branch: Mozilla Thunderbird 0.9.1</title>
14
<div class="documentDescription">Bazaar import of the Mozilla Thunderbird CVS mainline.</div>
16
<table class="listing" style="line-height: 1.5;">
18
<tr style="border-top: 1px solid #8cacbb;">
19
<td><b>Branch URL:</b></td>
20
<td><tt><a href="http://bazaar.ubuntu.com/thunderbird@arch.ubuntu.com/thunderbird--MAIN--0">http:/​/​bazaar.ubuntu.com/​thunderbird@arch.ubuntu.com/​thunderbird--MAIN--0</a></tt></td>
23
<td><b>Status:</b></td>
30
<h2>Revision History:</h2>
32
<table class="listing">
46
<td>add a memory leak</td>
50
<td>thunderbird initial revision</td>
59
Test that we can display the page for a branch not attached to a product.
63
... GET /people/spiv/+branch/+junk/twisted@arch.ubuntu.com_twisted--trunk--0 HTTP/1.1
67
Content-Type: text/html;charset=utf-8
70
<title>Bazaar Branch: Python Twisted 0.9.1</title>
72
<div class="documentDescription">Bazaar import of the Twisted SVN trunk.</div>
76
Test that we get a proper 404 when the product name is wrong.
80
... GET /people/stevea/+branch/not-a-product/thunderbird@arch.ubuntu.com_thunderbird--MAIN--0 HTTP/1.1
82
HTTP/1.1 404 Not Found
84
Content-Type: text/html;charset=utf-8
89
Test that we get a proper 404 when the branch name is wrong.
93
... GET /people/stevea/+branch/thunderdbird/not-a-branch HTTP/1.1
95
HTTP/1.1 404 Not Found
97
Content-Type: text/html;charset=utf-8