mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 04:53:01 +02:00
Add build test for psutil
This commit is contained in:
parent
279dd9bda3
commit
bb4671c22b
1 changed files with 6 additions and 0 deletions
|
|
@ -169,6 +169,11 @@ def test_netifaces():
|
|||
raise ValueError('netifaces could find no network interfaces')
|
||||
print ('netifaces OK!')
|
||||
|
||||
def test_psutil():
|
||||
import psutil
|
||||
psutil.Process(os.getpid())
|
||||
print ('psutil OK!')
|
||||
|
||||
def test():
|
||||
test_plugins()
|
||||
test_lxml()
|
||||
|
|
@ -185,6 +190,7 @@ def test():
|
|||
test_magick()
|
||||
test_tokenizer()
|
||||
test_netifaces()
|
||||
test_psutil()
|
||||
if iswindows:
|
||||
test_winutil()
|
||||
test_wpd()
|
||||
|
|
|
|||
Loading…
Reference in a new issue