mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add test for netifaces
This commit is contained in:
parent
743eda44f3
commit
279dd9bda3
@ -163,6 +163,12 @@ def test_tokenizer():
|
|||||||
run_tests(for_build=True)
|
run_tests(for_build=True)
|
||||||
print('tinycss tokenizer OK!')
|
print('tinycss tokenizer OK!')
|
||||||
|
|
||||||
|
def test_netifaces():
|
||||||
|
import netifaces
|
||||||
|
if len(netifaces.interfaces()) < 1:
|
||||||
|
raise ValueError('netifaces could find no network interfaces')
|
||||||
|
print ('netifaces OK!')
|
||||||
|
|
||||||
def test():
|
def test():
|
||||||
test_plugins()
|
test_plugins()
|
||||||
test_lxml()
|
test_lxml()
|
||||||
@ -178,6 +184,7 @@ def test():
|
|||||||
test_regex()
|
test_regex()
|
||||||
test_magick()
|
test_magick()
|
||||||
test_tokenizer()
|
test_tokenizer()
|
||||||
|
test_netifaces()
|
||||||
if iswindows:
|
if iswindows:
|
||||||
test_winutil()
|
test_winutil()
|
||||||
test_wpd()
|
test_wpd()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user