'Tests if get_sort returns the right sort of coming episode'

def test_get_sort(self):

    test_cases = {None: u'date', u'': u'date', u'wrong': u'date', u'date': u'date', u'Date': u'date', u'network': u'network', u'NetWork': u'network', u'show': u'show', u'Show': u'show'}
    unicode_test_cases = {u'': u'date', u'wrong': u'date', u'date': u'date', u'Date': u'date', u'network': u'network', u'NetWork': u'network', u'show': u'show', u'Show': u'show'}
    for tests in (test_cases, unicode_test_cases):
        for (sort, result) in six.iteritems(tests):
            self.assertEqual(ComingEpisodes._get_sort(sort), result)
