Files
notytex/check_js_complete.py

16 lines
516 B
Python

from app import create_app
app = create_app('development')
with app.test_client() as client:
response = client.get('/assessments/1/grading')
content = response.get_data(as_text=True)
# Chercher une section plus large
start = content.find('special_values: {')
if start != -1:
end = start + 300
config_section = content[start:end]
print('Configuration JavaScript complète:')
print(config_section)
else:
print('Section special_values non trouvée')