@patch.dict(mobile_details.mobile_details, version='22.0.1')
def test_latest_release_version(self):
    'latest_version should return the latest release version.'
    eq_(mobile_details.latest_version('release'), '22.0.1')
latest_version should return the latest release version.
@patch.dict(mobile_details.mobile_details, version='22.0.1')
def test_latest_release_version(self):
    
    eq_(mobile_details.latest_version('release'), '22.0.1')