summaryrefslogtreecommitdiff
path: root/test/test_jinja2.py
diff options
context:
space:
mode:
authorMarcel Hellkamp <marc@gsites.de>2022-06-12 20:53:45 +0200
committerMarcel Hellkamp <marc@gsites.de>2022-06-12 20:54:07 +0200
commitc84f45a751bc1371b64021a72cae441c7a849d8e (patch)
treee55f7f3bc331897762730c3b4fc58cae1eca4fd2 /test/test_jinja2.py
parentf0e6bc556dafe217c5612a06712bcf47c88ea5a2 (diff)
downloadbottle-c84f45a751bc1371b64021a72cae441c7a849d8e.tar.gz
fix: Make tests runnable with both unittest and pytest
The old test method (test/testall.py) was broken. Travis was removed, because it does not support py25 anymore anyway.
Diffstat (limited to 'test/test_jinja2.py')
-rw-r--r--test/test_jinja2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_jinja2.py b/test/test_jinja2.py
index 0653dfc..6cae4fb 100644
--- a/test/test_jinja2.py
+++ b/test/test_jinja2.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
import unittest
from bottle import Jinja2Template, jinja2_template, jinja2_view, touni
-from tools import warn
+from .tools import warn
class TestJinja2Template(unittest.TestCase):