commit 8af16b322f90bb8629899d0e900146c30c157eeb equwal <truex@equwal.com> 2026-09-22 18:54:11 -0700 Remove the test for the footer data notice The user removed the footer notice in 3303da2. The switch note and terms.html#debug-data still say how the browser copy works. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
tests/test_page.py | 13 ------------- 1 file changed, 13 deletions(-)
diff --git a/tests/test_page.py b/tests/test_page.py index 20c560c..809e944 100644 --- a/tests/test_page.py +++ b/tests/test_page.py @@ -27,16 +27,3 @@ def test_the_browser_mode_says_that_it_uses_no_credit(client): app = client.get("/app.js").text assert "'Uses no credit, and has no limit." in app assert "do the work.' + serverPrice()" not in app - - -def test_the_page_tells_how_it_keeps_user_data(client): - # During the beta a job in the browser sends a copy of its files to the - # server (settings.browser_copy). The page must say so, point to the - # policy, and make no promise that the copy breaks. - page = client.get("/").text - app = client.get("/app.js").text - notice = re.search(r'<p[^>]*id="data-notice"[^>]*>(.*?)</p>', page, re.S) - assert notice and 'href="/terms.html#debug-data"' in notice.group(1) - assert 'id="debug-data"' in client.get("/terms.html").text - for promise in ("never uploaded", "not uploaded", "nothing is uploaded"): - assert promise not in page and promise not in app, promise