Add test for netifaces

This commit is contained in:
Kovid Goyal 2014-05-10 10:22:20 +05:30
parent 743eda44f3
commit 279dd9bda3

View File

@ -163,6 +163,12 @@ def test_tokenizer():
run_tests(for_build=True)
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():
test_plugins()
test_lxml()
@ -178,6 +184,7 @@ def test():
test_regex()
test_magick()
test_tokenizer()
test_netifaces()
if iswindows:
test_winutil()
test_wpd()