#NEWLINE# def test_import_distributions( ) : #NEWLINE# #INDENT# distributions = [ ( 'pytest-nodev' , [ 'pytest_nodev' ] ) ] #NEWLINE# module_names = list ( collect . import_distributions ( distributions ) ) #NEWLINE# assert ( module_names == [ 'pytest_nodev' ] ) #NEWLINE# distributions = [ ( 'pytest-nodev' , [ 'non_existent_module' ] ) ] #NEWLINE# module_names = list ( collect . import_distributions ( distributions ) ) #NEWLINE# assert ( distributions == [ ] )