File: test_tempita.py

package info (click to toggle)
python-tempita 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 244 kB
  • sloc: python: 1,173; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 220 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
import os
import unittest
import doctest


class TestTempita(unittest.TestCase):
    def test_readme(self):
        doctest.testfile('../README.rst')

    def test_templating(self):
        doctest.testfile('tests.txt')