Opened on 07/19/2017 at 03:46:41 PM
Closed on 08/15/2017 at 02:59:04 PM
Last modified on 08/15/2017 at 03:02:19 PM
#5431 closed defect (fixed)
Prevent update_copyright test from being overwritten when the script is run
| Reported by: | rhowell | Assignee: | rhowell |
|---|---|---|---|
| Priority: | P3 | Milestone: | |
| Module: | Sitescripts | Keywords: | |
| Cc: | kvas, sebastian | Blocked By: | |
| Blocking: | Platform: | Unknown / Cross platform | |
| Ready: | yes | Confidential: | no |
| Tester: | Unknown | Verified working: | no |
| Review URL(s): | |||
Description
Background
When the script runs to update the copyrights each year, it will also find and update the sample_file.py, thus rendering the test page useless.
What to change
codingtools/update-copyright/tests/data/sample_file.py
Adjust the formatting to generate the file programmatically, so it doesn't match the expression that the script is looking for.
Attachments (0)
Change History (4)
Note: See
TracTickets for help on using
tickets.

A commit referencing this issue has landed:
Issue 5431 - Fix test for copyright update script