]> git.proxmox.com Git - proxmox.git/commit
notify: add separate context for unit-tests
authorLukas Wagner <l.wagner@proxmox.com>
Wed, 10 Jan 2024 09:31:22 +0000 (10:31 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 10 Jan 2024 11:29:26 +0000 (12:29 +0100)
commitf0bf95f53b4c34ddda7021e0aae088106dbf568e
tree059ccebae2d88807de4abb2219e6b9f5c436ada6
parent50fa98e241c1704db2156efd74a051c397d16f5b
notify: add separate context for unit-tests

... as using PVEContext for tests is brittle and annoying for some
tests.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
proxmox-notify/src/context/mod.rs
proxmox-notify/src/context/test.rs [new file with mode: 0644]