tests: add test loading uwsgi spooler

(to get back to all files being loaded during coverage tests)
This commit is contained in:
Frédéric Péters 2020-12-20 16:00:39 +01:00
parent 72fb2109b0
commit 3f4569f3d4
1 changed files with 5 additions and 0 deletions

View File

@ -636,3 +636,8 @@ ii wcs 5.71-1~eob100+1 all web application to design and se
version = wcs.qommon.admin.menu._find_vc_version()
assert version == 'wcs 5.71-1~eob100+1 (Debian)'
def test_uwsgi_spooler_import():
with pytest.raises(ImportError):
import wcs.qommon.spooler