File: test_retrieve.py

package info (click to toggle)
python-textile 1%3A2.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 444 kB
  • ctags: 233
  • sloc: python: 2,320; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 134 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
from textile import Textile

def test_retrieve():
    t = Textile()
    id = t.shelve("foobar")
    assert t.retrieve(id) == 'foobar'