better testing

pull/1235/head
dgtlmoon 2 years ago
parent d6f93c080d
commit 46dac6366c

@ -46,7 +46,7 @@ docker run --network changedet-network \
# Should see a request for one.changedetection.io in there # Should see a request for one.changedetection.io in there
docker logs squid-custom 2>/dev/null|grep one.changedetection.io docker logs squid-custom 2>/dev/null|grep "TCP_TUNNEL.200.*changedetection.io"
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
echo "Did not see a request to chosen.changedetection.io in the squid logs (while checking preferred proxy - squid two)" echo "Did not see a request to chosen.changedetection.io in the squid logs (while checking preferred proxy - squid two)"

@ -173,8 +173,11 @@ nav
</div> </div>
<div class="tab-pane-inner" id="proxies"> <div class="tab-pane-inner" id="proxies">
<p>Use <a href="https://brightdata.grsm.io/n0r16zf7eivq">BrightData</a> (Click on "Proxy" &gt; "Web Unlocker") or other proxy providers that offer CAPTCHA solving and other proxy services.</p> <p><strong>Tip</strong>: You can connect <a href="https://brightdata.grsm.io/n0r16zf7eivq">BrightData <strong>WebUnlocker</strong></a> proxies to work around CAPTCHA.<br/>
<p>You can add custom proxies via <code>proxies.json</code> configuration file, or directly here.</p> Simply <a href="https://brightdata.grsm.io/n0r16zf7eivq">register</a> and paste in the Proxy URL below.<br/>
You can also add extra location/country proxies.</br>
</p>
<p>Please use our referrer link for BrightData <a href="https://brightdata.grsm.io/n0r16zf7eivq">https://brightdata.grsm.io/n0r16zf7eivq</a></p> <p>Please use our referrer link for BrightData <a href="https://brightdata.grsm.io/n0r16zf7eivq">https://brightdata.grsm.io/n0r16zf7eivq</a></p>

@ -27,7 +27,7 @@ def test_select_custom(client, live_server):
url_for("import_page"), url_for("import_page"),
# Because a URL wont show in squid/proxy logs due it being SSLed # Because a URL wont show in squid/proxy logs due it being SSLed
# Use plain HTTP or a specific domain-name here # Use plain HTTP or a specific domain-name here
data={"urls": "http://one.changedetection.io"}, data={"urls": "https://changedetection.io/CHANGELOG.txt"},
follow_redirects=True follow_redirects=True
) )

Loading…
Cancel
Save