solidprivacy-nl commited on
Commit
dfcfc4b
·
1 Parent(s): 22400b7

Update Scrub Key UI patch boundary tests for reinsert

Browse files
Files changed (1) hide show
  1. tests/test_scrub_key_ui_patch.py +6 -3
tests/test_scrub_key_ui_patch.py CHANGED
@@ -52,10 +52,13 @@ def test_scrub_key_warning_makes_pseudonymization_boundary_clear():
52
  assert "Deel deze sleutel niet met AI-diensten of derden" in PATCH_TEXT
53
 
54
 
55
- def test_scrub_key_ui_does_not_add_import_or_reinsert_flow():
56
- assert "scrub_key_from_json" not in PATCH_TEXT
57
- assert "reinsert" not in PATCH_TEXT.lower()
58
  assert "AI-output" not in PATCH_TEXT
 
 
 
 
 
59
 
60
 
61
  def test_scrub_key_patch_does_not_remove_existing_download_or_export_markers():
 
52
  assert "Deel deze sleutel niet met AI-diensten of derden" in PATCH_TEXT
53
 
54
 
55
+ def test_scrub_key_ui_does_not_add_ai_output_cloud_or_auto_rehydration_flow():
 
 
56
  assert "AI-output" not in PATCH_TEXT
57
+ assert "openai" not in PATCH_TEXT.lower()
58
+ assert "requests.post" not in PATCH_TEXT.lower()
59
+ assert "rehydrat" not in PATCH_TEXT.lower()
60
+ assert "restore_original_document" not in PATCH_TEXT
61
+ assert "scrub_key_from_json" not in PATCH_TEXT
62
 
63
 
64
  def test_scrub_key_patch_does_not_remove_existing_download_or_export_markers():