@pytest.mark.skipif((not product_details.last_update), reason="We don't want to download product_details on travis")
def test_spotcheck():
 languages = product_details.languages
 assert (languages['el']['English'] == 'Greek')
 assert (languages['el']['native'] == u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac')
 assert (product_details.firefox_history_major_releases['1.0'] == '2004-11-09')

@ pytest . mark . skipif ( ( not product_details . last_update ) , reason = "We don't want to download product_details on travis" ) def test_spotcheck ( ) : languages = product_details . languages assert ( languages [ 'el' ] [ 'English' ] == 'Greek' ) assert ( languages [ 'el' ] [ 'native' ] == u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac' ) assert ( product_details . firefox_history_major_releases [ '1.0' ] == '2004-11-09' )
check a couple product-details files to make sure theyre available .