@patch.dict(firefox_details.firefox_versions, FIREFOX_AURORA='28.0a2')
def test_get_download_url_aurora(self):
    'The Aurora version should give us an FTP url.'
    url = firefox_details.get_download_url('OS X', 'en-US', '28.0a2')
    self.assertIn('ftp.mozilla.org', url)
    self.assertIn('latest-mozilla-aurora/firefox-28.0a2.en-US.mac.dmg', url)
The Aurora version should give us an FTP url.
@patch.dict(firefox_details.firefox_versions, FIREFOX_AURORA='28.0a2')
def test_get_download_url_aurora(self):
    
    url = firefox_details.get_download_url('OS X', 'en-US', '28.0a2')
    self.assertIn('ftp.mozilla.org', url)
    self.assertIn('latest-mozilla-aurora/firefox-28.0a2.en-US.mac.dmg', url)