async def METHOD_NAME(alice_ws, alice, alice_nd):
    now = DateTime.now()
    device_certificate = DeviceCertificate(
        author=alice.device_id,
        timestamp=now,
        device_id=alice_nd.device_id,
        device_label=alice_nd.device_label,
        verify_key=alice_nd.verify_key,
    ).dump_and_sign(alice.signing_key)
    with freeze_time(now):
        rep = await device_create(
            alice_ws,
            device_certificate=device_certificate,
            redacted_device_certificate=device_certificate,
        )
        assert isinstance(rep, DeviceCreateRepInvalidData)