That makes sense, but how would you recommend writing a UnitTest for raising a logger warning? That feature is not available in the python UnitTest framework until Python 3.4...