{"push_id":611292681,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"61a1f1bdb5a7bd8fe83d2d446be27b72fa09c438","before":"e73eadea0b1f2722acd12089e3fe59c3996d48d0","commits":[{"sha":"61a1f1bdb5a7bd8fe83d2d446be27b72fa09c438","author":{"email":"59bd0a3ff43b32849b319e645d4798d8a5d1e889@johanneshoppe.com","name":"Johannes Hoppe"},"message":"Adds tests for invalid template variables\n\nDjango catches all `VariableDoesNotExist` exceptions to replace\nthem in templates with a modifiable string that you can define in\nyour settings.\nSadly that doesn't allow you to find them in unit tests.\n\n`_fail_for_invalid_template_variable` sets the setting\n`TEMPLATE_STRING_IF_INVALID` to a custom class that not only fails\nthe current test but prints a pretty message including the template\nname.\n\nA new marker allows disabling this behavior, eg:\n\n    @pytest.mark.ignore_template_errors\n    def test_something():\n        pass\n\nThis marker sets the setting to None, if you want it to be a string,\nyou can use the `settings` fixture to set it to your desired value.","distinct":true,"url":"https://api.github.com/repos/codingjoe/pytest-django/commits/61a1f1bdb5a7bd8fe83d2d446be27b72fa09c438"}]}