def test_site_nav(): r = Mock() r.APP = amo.FIREFOX assert 'id="site-nav"' in helpers.site_nav({'request': r})