code: def test_encrypt_text():
      text = "gmail.com"
      encrypted = encrypt_text(text, presidio_engine())
      assert text != encrypted
      assert isinstance(encrypted, str)
  
file_path: data-describe/tests/test_detection.py
imports: import pytest
  from data_describe.compat import _compat, _is_dataframe
  from data_describe.privacy.detection import sensitive_data, SensitiveDataWidget, presidio_engine
  from data_describe.privacy.detection import identify_pii, redact_info, encrypt_text, hash_string
label_desc: Use image node_id 9 for calling a global function with example usage: test_encrypt_text() without return types