'Test get quality string'

def test_get_quality_string(self):

    tests = {ANY: 'Any', HD: 'HD', HD720p: 'HD720p', HD1080p: 'HD1080p', Quality.FULLHDBLURAY: '1080p    BluRay', Quality.FULLHDTV: '1080p    HDTV', Quality.FULLHDWEBDL: '1080p    WEB-DL', Quality.HDBLURAY: '720p    BluRay', Quality.HDTV: '720p    HDTV', Quality.HDWEBDL: '720p    WEB-DL', Quality.NONE: 'N/A', Quality.RAWHDTV: 'RawHD', Quality.SDDVD: 'SD    DVD', Quality.SDTV: 'SDTV', Quality.UNKNOWN: 'Unknown', SD: 'SD', 1000000: 'Custom'}
    for (quality, result) in six.iteritems(tests):
        self.assertEqual(get_quality_string(quality), result)
