mirror of
https://github.com/barkeser2002/offline-db.git
synced 2026-09-25 06:00:11 +03:00
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: Senpai-YoloBot <41898282+github-actions[bot]@users.noreply.github.com>
13 lines
334 B
Python
13 lines
334 B
Python
import re
|
|
|
|
with open('users/tests/test_profile_view.py', 'r') as f:
|
|
content = f.read()
|
|
|
|
new_content = content.replace(
|
|
"response = client.patch(url, data, format='json')",
|
|
"response = client.patch(url, data, format='json', secure=True)"
|
|
)
|
|
|
|
with open('users/tests/test_profile_view.py', 'w') as f:
|
|
f.write(new_content)
|