Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults vararg kwarg body If CompareEq SubscriptLoad NameLoad Index Num Str body Return Dict Str Str Str Str Str Str Str Str orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Return Dict Str Str Str Str Str Str Str Str Return NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body If CompareEq SubscriptLoad NameLoad Index Num Str body Return Call NameLoad keyword Str keyword Str keyword Str keyword Dict Str Str keyword Str orelse If CompareEq SubscriptLoad NameLoad Index Num Str body Return Call NameLoad keyword Str keyword Str keyword Str keyword Dict Str Str keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest JustReleaseNotes.writers HtmlWriter mock MagicMock mock Mock HtmlWriter_Test N/A N/A unittest TestCase N/A test_returnsHtmlExtension N/A N/A self N/A N/A N/A writer N/A N/A HtmlWriter HtmlWriter None N/A N/A N/A self assertEqual .html N/A N/A writer getExtension N/A ticket_side_effect N/A N/A N/A args kwargs N/A N/A N/A N/A args N/A 1 ABCD-1 N/A N/A N/A title ticket html_url reporter ABCD1 ticket ABCD-1 http://some.url test user N/A N/A N/A N/A args N/A 1 ABCD-2 N/A N/A N/A title ticket html_url reporter ABCD2 ticket ABCD-2 http://some.url test user N/A None N/A ticket_side_effect_with_embedded_link N/A N/A N/A args kwargs N/A N/A N/A N/A args N/A 1 ABCD-1 N/A N/A N/A dict title ABCD1 ticket that references ABCD-2 ticket ABCD-1 html_url http://some.url embedded_link N/A ABCD-2 http://some.url/ABCD-2 reporter test user N/A N/A N/A N/A args N/A 1 ABCD-2 N/A N/A N/A dict title ABCD2 ticket that references ABCD-1 ticket ABCD-2 html_url http://some.url embedded_link N/A ABCD-1 http://some.url/ABCD-1 reporter test user N/A None N/A test_givenFairlyCompleteTicketHtmlBlockIsGenerated N/A N/A self N/A N/A N/A N/A self maxDiff None N/A mockedTicketProvider N/A Mock N/A N/A N/A mockedTicketProvider getTicketInfo side_effect N/A self ticket_side_effect N/A writer N/A N/A HtmlWriter HtmlWriter mockedTicketProvider N/A deps N/A ANY SomeComponent1: 2.3.*; SomeComponent2: 1.0.0 N/A version 1.0.2.0 N/A date 01-02-2015 N/A tickets N/A ABCD-1 ABCD-2 N/A output N/A N/A writer printVersionBlock deps version date tickets N/A N/A N/A self assertEqual <div style="width:100%; border: 0px"><a name="1.0.2.0" class="version"></a>
<h2>1.0.2.0
<sup><small style="font-size:10px"><i> 01-02-2015</i></small></sup>
</h2>
<div style="background: #eee; "><i>Components: 
SomeComponent1: 2.3.*; SomeComponent2: 1.0.0
</i></div>
<ul>
<li style="font-size:14px"><a href="http://some.url">ABCD-2</a> ABCD2 ticket, <i>reported by</i> <b>test user</b></li>
<li style="font-size:14px"><a href="http://some.url">ABCD-1</a> ABCD1 ticket, <i>reported by</i> <b>test user</b></li>
</ul>
</div> output N/A test_embeddedLinkProvided_ReplacesContentWithLink N/A N/A self N/A N/A N/A mockedTicketProvider N/A Mock N/A N/A mockedTicketProvider getTicketInfo N/A self ticket_side_effect_with_embedded_link N/A writer N/A N/A HtmlWriter HtmlWriter mockedTicketProvider N/A deps N/A ANY SomeComponent1: 2.3.*; SomeComponent2: 1.0.0 N/A version 1.0.2.0 N/A date 01-02-2015 N/A tickets N/A ABCD-1 ABCD-2 N/A output N/A N/A writer printVersionBlock deps version date tickets N/A N/A N/A self assertEqual <div style="width:100%; border: 0px"><a name="1.0.2.0" class="version"></a>
<h2>1.0.2.0
<sup><small style="font-size:10px"><i> 01-02-2015</i></small></sup>
</h2>
<div style="background: #eee; "><i>Components: 
SomeComponent1: 2.3.*; SomeComponent2: 1.0.0
</i></div>
<ul>
<li style="font-size:14px"><a href="http://some.url">ABCD-2</a> ABCD2 ticket that references <a href="http://some.url/ABCD-1">ABCD-1</a>, <i>reported by</i> <b>test user</b></li>
<li style="font-size:14px"><a href="http://some.url">ABCD-1</a> ABCD1 ticket that references <a href="http://some.url/ABCD-2">ABCD-2</a>, <i>reported by</i> <b>test user</b></li>
</ul>
</div> output N/A test_setInitialContentParsesHtml N/A N/A self N/A N/A N/A mockedTicketProvider N/A Mock N/A mockedData <div style="width:100%; border: 0px"><a name="1.0.2.0" class="version"></a>
<h2>1.0.2.0
<sup><small style="font-size:10px"><i> 01-02-2015</i></small></sup>
</h2>
<div style="background: #eee; "><i>Components: 
SomeComponent1: 2.3.*; SomeComponent2: 1.0.0
</i></div>
<ul>
<li style="font-size:14px"><a href="http://some.url">ABCD-2</a> ABCD2 ticket that references <a href="http://some.url/ABCD-1">ABCD-1</a>, reported by test user</li>
<li style="font-size:14px"><a href="http://some.url">ABCD-1</a> ABCD1 ticket that references <a href="http://some.url/ABCD-2">ABCD-2</a>, reported by test user</li>
</ul>
</div>
 N/A writer N/A N/A HtmlWriter HtmlWriter mockedTicketProvider N/A output N/A N/A writer setInitialContent mockedData N/A N/A N/A self assertEqual 1 N/A len output N/A N/A N/A self assertEqual N/A <div style="width:100%; border: 0px"><a name="1.0.2.0" class="version"></a> <h2>1.0.2.0 <sup><small style="font-size:10px"><i> 01-02-2015</i></small></sup> </h2> <div style="background: #eee; "><i>Components:  SomeComponent1: 2.3.*; SomeComponent2: 1.0.0 </i></div> <ul> <li style="font-size:14px"><a href="http://some.url">ABCD-2</a> ABCD2 ticket that references <a href="http://some.url/ABCD-1">ABCD-1</a>, reported by test user</li> <li style="font-size:14px"><a href="http://some.url">ABCD-1</a> ABCD1 ticket that references <a href="http://some.url/ABCD-2">ABCD-2</a>, reported by test user</li> </ul> </div> N/A output N/A 1.0.2.0 N/A test_printVersionBlockReturnsWhateverIsPresentInitially N/A N/A self N/A N/A N/A mockedTicketProvider N/A Mock N/A mockedData <div style="width:100%; border: 0px"><a name="1.0.0.1" class="version"></a>
SomeCustomStuffpossibly even unstructured
 some comments etc N/A writer N/A N/A HtmlWriter HtmlWriter mockedTicketProvider N/A output N/A N/A writer setInitialContent mockedData N/A N/A N/A self assertEqual 1 N/A len output N/A N/A N/A self assertEqual mockedData N/A N/A writer printVersionBlock None 1.0.0.1 None None N/A test_versionHeaderParsingAndGenerationAreCompatible N/A N/A self N/A N/A N/A mockedTicketProvider N/A Mock N/A writer N/A N/A HtmlWriter HtmlWriter mockedTicketProvider N/A N/A N/A self assertEqual 1.2.3 N/A N/A writer parseVersionHeader N/A N/A writer getVersionHeader 1.2.3 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main