'Ensure set_permissions supports the change_layer_data permission.'

def test_assign_change_layer_data_perm(self):

    layer = Layer.objects.first()
    user = get_anonymous_user()
    layer.set_permissions({'users': {user.username: ['change_layer_data']}})
    perms = layer.get_all_level_info()
    self.assertIn('change_layer_data', perms['users'][user])
