def update_database(self, tiddler):
     """
     Update the front and back links databases with the provided
     tiddler.
     """
     links = process_tiddler(tiddler)
     self._update_links(links, tiddler)
def test_simple_tiddler():
    tiddler = Tiddler('hello', 'barney')
    tiddler.text = 'I am NotYou, you [[are|you]]!'

    links = process_tiddler(tiddler)

    assert links[0] == ('NotYou', None)
    assert links[1] == ('you', None)