def test_get_words_css():
 expected_words = ['DeepSkyBlue', 'nombre-valido', 'text', 'css', 'h', 'color', 'Hello', 'world', 'type', 'style']
 assert (sorted(expected_words) == sorted(get_words_by_filename('example.css')))
 assert (sorted(expected_words) == sorted(get_words_by_content('example.css')))

def test_get_words_css ( ) : expected_words = [ 'DeepSkyBlue' , 'nombre-valido' , 'text' , 'css' , 'h' , 'color' , 'Hello' , 'world' , 'type' , 'style' ] assert ( sorted ( expected_words ) == sorted ( get_words_by_filename ( 'example.css' ) ) ) assert ( sorted ( expected_words ) == sorted ( get_words_by_content ( 'example.css' ) ) )
test for get word from css file syntax .