def METHOD_NAME(self):
    with self.assertRaises(SystemExit):
        self.set_channel_position(
            self.c1.id, content.ChannelMetadata.objects.count() + 1, out=self.out
        )
    self.assertIn("Invalid position", self.out.getvalue())