span class="s2">&quot;max&quot;</span><span class="p">,</span> <span class="s2">&quot;1d&quot;</span><span class="p">])</span>
    <span class="k">def</span> <span class="nf">test_extractor_get_stock_period</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">stockSymbol</span><span class="p">,</span> <span class="n">periods</span><span class="p">,</span><span class="n">source</span><span class="p">):</span>
        <span class="n">se</span> <span class="o">=</s