Diffing unit tests to keep a copy-pasted code in sync

Diffing unit tests to keep a copy-pasted code in sync

Articles

A bonus Adam Johnson article on how to use Python's difflib library in tests to let you know if templates changed since you last copied them into your project. This is really nice for keeping templates up to date, which tend to drift over time.