trivial: Don't emit warnings for our own deprecations
We've deprecated a number of modules recently. We don't need to emit
these warnings when running unit tests. Silence things.
Change-Id: I7aed7789584bf0070f11c22b5eaa0e80c42dfc9c
Signed-off-by:
Stephen Finucane <stephenfin@redhat.com>