def test_etag_match_not_modified(self):
        etag = self.unique()
        def condition_etag(self, request, *args, **kwargs):
            return etag
        self.assertViewBehavior(
            {"condition_etag": condition_etag, "get": self.unique()},
            headers={"HTTP_IF_NONE_MATCH": self.format_etag(etag)},
            status_code=304,
            content="",
            headers_exact={"ETag": self.format_etag(etag)})
Update a Resource with the given attributes.
dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/tests/views/behaviors/http/tests.py/ConditionTestCase.test_etag_match_not_modified--crossover with--dataset/ETHPy150Open openstack/python-openstacksdk/openstack/object_store/v1/_base.py/BaseResource.update_by_id