def test_etag_precedence(self):
        etag = self.unique()
        def condition_etag(self, request, *args, **kwargs):
            return etag
        self.assertViewBehavior(
            {"condition_etag": condition_etag},
            status_code=405,
            headers_exclude="ETag")
Replace v4 endings with v6 equivalents.
dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/tests/views/behaviors/http/tests.py/ConditionTestCase.test_etag_precedence--crossover with--dataset/ETHPy150Open google/grr/grr/lib/ipv6_utils.py/_RemoveV4Ending