<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Ian Bruene pushed to branch master
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/f54190956f7dac292d3c4460dee0f028f2bb2450">f5419095</a></strong>
<div>
<span>by Ian Bruene</span>
<i>at 2017-10-24T18:41:47-05:00</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Changed new tests to only use assertEqual

CentOS 6 still uses an earlier version of Python than 2.7. The assertLess,
assertLessEqual, assertGreater, assertGreaterEqual methods were introduced
in python 2.7.
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#e676d05ddc160e1b8172b662a2643c9f02fa1454">
tests/pylib/test_agentx.py
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="e676d05ddc160e1b8172b662a2643c9f02fa1454">
<a href="https://gitlab.com/NTPsec/ntpsec/commit/f54190956f7dac292d3c4460dee0f028f2bb2450#e676d05ddc160e1b8172b662a2643c9f02fa1454"><strong>tests/pylib/test_agentx.py</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 12px;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="1708" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="1708" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -1708,19 +1708,19 @@ class TestNtpclientsNtpsnmpd(unittest.TestCase):</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1708" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1708
</td>
<td class="diff-line-num new_line" data-linenumber="1708" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1708
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1708" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assertEqual</span><span class="p">(</span><span class="n" style="color: #333;">a</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">compareOID</span><span class="p">(</span><span class="n" style="color: #333;">b</span><span class="p">),</span> <span class="o" style="font-weight: 600;">-</span><span class="mi" style="color: #099;">1</span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1709" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1709
</td>
<td class="diff-line-num new_line" data-linenumber="1709" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1709
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1709" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic;"># Test direct comparisons</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1710" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1710
</td>
<td class="diff-line-num new_line" data-linenumber="1710" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1710
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1710" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic;"># Test ==</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1711" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1711
</td>
<td class="diff-line-num new_line old" data-linenumber="1711" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1711" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assertEqual</span><span class="p">(</span><span class="n" style="color: #333;">target</span><span class="p">((</span><span class="mi" style="color: #099;">1</span><span class="p">,</span> <span class="mi" style="color: #099;">2</span><span class="p">,</span> <span class="mi" style="color: #099;">3</span><span class="p">))<span class="idiff left">,</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff right">))</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1712" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="1711" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1711
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1711" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assertEqual</span><span class="p">(</span><span class="n" style="color: #333;">target</span><span class="p">((</span><span class="mi" style="color: #099;">1</span><span class="p">,</span> <span class="mi" style="color: #099;">2</span><span class="p">,</span> <span class="mi" style="color: #099;">3</span><span class="p">))</span><span class="idiff left"> </span><span class="o" style="font-weight: 600;"><span class="idiff">==</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="bp" style="color: #999;"><span class="idiff right">True</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1712" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1712
</td>
<td class="diff-line-num new_line" data-linenumber="1712" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1712
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1712" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic;"># Test !=</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1713" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1713
</td>
<td class="diff-line-num new_line old" data-linenumber="1713" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1713" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">NotEqual</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff right">))</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1714" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="1713" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1713
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1713" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">Equal</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">))</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">!=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="bp" style="color: #999;"><span class="idiff right">True</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1714" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1714
</td>
<td class="diff-line-num new_line" data-linenumber="1714" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1714
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1714" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic;"># Test <</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1715" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1715
</td>
<td class="diff-line-num new_line old" data-linenumber="1715" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1715" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">Less</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff right">))</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1716" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="1715" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1715
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1715" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">Equal</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">))</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff"><</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="bp" style="color: #999;"><span class="idiff right">True</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1716" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1716
</td>
<td class="diff-line-num new_line" data-linenumber="1716" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1716
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1716" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic;"># Test ></span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1717" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1717
</td>
<td class="diff-line-num new_line old" data-linenumber="1717" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1717" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">Greater</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff right">))</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1718" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="1717" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1717
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1717" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">Equal</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">))</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">></span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="bp" style="color: #999;"><span class="idiff right">True</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1718" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1718
</td>
<td class="diff-line-num new_line" data-linenumber="1718" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1718
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1718" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic;"># Test <=</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1719" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1719
</td>
<td class="diff-line-num new_line old" data-linenumber="1719" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1719" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">LessEqual</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff right">))</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1720" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1720
</td>
<td class="diff-line-num new_line old" data-linenumber="1719" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1720" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">LessEqual</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff right">))</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1721" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="1719" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1719
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1719" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">Equal</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">))</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff"><=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="bp" style="color: #999;"><span class="idiff right">True</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1721" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="1720" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1720
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1720" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">Equal</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">))</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff"><=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="bp" style="color: #999;"><span class="idiff right">True</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1721" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1721
</td>
<td class="diff-line-num new_line" data-linenumber="1721" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1721
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1721" class="line" lang="python">        <span class="c" style="color: #998; font-style: italic;"># Test >=</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1722" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1722
</td>
<td class="diff-line-num new_line old" data-linenumber="1722" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1722" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">GreaterEqual</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff right">))</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="1723" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
1723
</td>
<td class="diff-line-num new_line old" data-linenumber="1722" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC1723" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">GreaterEqual</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff right">))</span>)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1724" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="1722" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1722
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1722" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">Equal</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">))</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">>=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="bp" style="color: #999;"><span class="idiff right">True</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="1724" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="1723" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
1723
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC1723" class="line" lang="python">        <span class="bp" style="color: #999;">self</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">assert<span class="idiff left">Equal</span></span><span class="p"><span class="idiff">(</span></span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">))</span></span><span class="idiff"> </span><span class="o" style="font-weight: 600;"><span class="idiff">>=</span></span><span class="idiff"> </span><span class="n" style="color: #333;"><span class="idiff">target</span></span><span class="p"><span class="idiff">((</span></span><span class="mi" style="color: #099;"><span class="idiff">1</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">2</span></span><span class="p"><span class="idiff">,</span></span><span class="idiff"> </span><span class="mi" style="color: #099;"><span class="idiff">3</span></span><span class="p"><span class="idiff">)),</span></span><span class="idiff"> </span><span class="bp" style="color: #999;"><span class="idiff right">True</span></span><span class="p">)</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1724" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1724
</td>
<td class="diff-line-num new_line" data-linenumber="1724" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1724
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1724" class="line" lang="python"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1725" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1725
</td>
<td class="diff-line-num new_line" data-linenumber="1725" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1725
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1725" class="line" lang="python">    <span class="k" style="font-weight: 600;">def</span> <span class="nf" style="color: #900; font-weight: 600;">test_searchrange</span><span class="p">(</span><span class="bp" style="color: #999;">self</span><span class="p">):</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="1726" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1726
</td>
<td class="diff-line-num new_line" data-linenumber="1726" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
1726
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC1726" class="line" lang="python">        <span class="n" style="color: #333;">target</span> <span class="o" style="font-weight: 600;">=</span> <span class="n" style="color: #333;">ntp</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">agentx</span><span class="o" style="font-weight: 600;">.</span><span class="n" style="color: #333;">SearchRange</span></span>
</pre>
</td>
</tr>

</table>
<br>
</li>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">

<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/f54190956f7dac292d3c4460dee0f028f2bb2450">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/f54190956f7dac292d3c4460dee0f028f2bb2450"}}</script>
</p>
</div>
</body>
</html>