Commit 30be6899 authored by Jérome Perrin's avatar Jérome Perrin

erp5_web_project_ui_test: code cleanup remove unused variable

parent b3e91e89
Pipeline #8610 failed with stage
in 0 seconds
...@@ -3,7 +3,6 @@ from datetime import datetime ...@@ -3,7 +3,6 @@ from datetime import datetime
portal = context.getPortalObject() portal = context.getPortalObject()
now = datetime.now() now = datetime.now()
date_time = now.strftime("%m-%d-%Y-%H-%M-%S") date_time = now.strftime("%m-%d-%Y-%H-%M-%S")
old_date_time = (DateTime()-366).strftime("%Y/%m/%d")
test_id = "documented-project-" if create_project_documents else "test-project-" test_id = "documented-project-" if create_project_documents else "test-project-"
test_id += date_time test_id += date_time
project_reference = 'test-project-home' if home_page else 'documented-project' if create_project_documents else 'test-project' project_reference = 'test-project-home' if home_page else 'documented-project' if create_project_documents else 'test-project'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment