def test_basic_output(text):
    """Ensure that we can also put the returned string in the output"""
    @backend("markov")
    def generate_summary(t):
        """Generate a summary of the following text: {{ t }}"""
        return "dinosaurhead"

    assert "dinosaurhead" in generate_summary(text) 
    assert text in generate_summary(text)
Ensure that we can also put the returned string in the output
tests/test_basic.py