def METHOD_NAME(self):
    dep_server = force_dep_virtual_server()
    response = self.client.post(reverse("mdm_api:dep_virtual_server_sync_devices", args=(dep_server.pk,)))
    self.assertEqual(response.status_code, 401)