def test_single(self): self.assertEqual(parse_media('@media screen, print { }').media, ['screen', 'print'])
def test_multi(self): self.assertEqual(parse_media('@media screen { }').media, ['screen'])