The `save` method in the `DocumentFactory` class of the `kitsune.wiki.tests` module is used to save a document object to the database. This method ensures that the document is saved with all its required fields such as title, content, and author. It also handles any necessary encoding and validation before persisting the document in the database. This method is essential for properly storing and managing documents in the Kitsune wiki application.
Python DocumentFactory.save - 27 examples found. These are the top rated real world Python examples of kitsune.wiki.tests.DocumentFactory.save extracted from open source projects. You can rate examples to help us improve the quality of examples.