Switch to side-by-side view
--- a/AlluraTesting/alluratest/test_syntax.py +++ b/AlluraTesting/alluratest/test_syntax.py @@ -28,6 +28,8 @@ def test_no_now(): if run(find_py + " | xargs grep '\.now(' ") not in [1,123]: raise Exception("These should use .utcnow()") + if run(find_py + " | xargs grep '\.fromtimestamp(' ") not in [1,123]: + raise Exception("These should use .utcfromtimestamp()") def test_no_prints(): skips = [