def test_iter_tokens(self): dc = PlainContainer('abc', 'text/plain') tokens = [t for t in dc.iter_tokens()] self.assertEqual(tokens, [])