Skip to content

Commit

Permalink
Fix tests imports
Browse files Browse the repository at this point in the history
  • Loading branch information
olemoign committed Nov 28, 2021
1 parent 74d5c0a commit 7400518
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from pyramid.path import DottedNameResolver

from pyramid_jinja2.tests.base import Base
from tests.base import Base


class TestExtensions(Base, unittest.TestCase):
Expand All @@ -16,7 +16,7 @@ def test_custom_extension(self):
settings = parse_env_options_from_settings(options, "", maybe_dotted, None)
env = create_environment_from_options(settings, {})
ext = env.extensions["tests.extensions.TestExtension"]
from pyramid_jinja2.tests import extensions
from tests import extensions

self.assertEqual(ext.__class__, extensions.TestExtension)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_it.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from pyramid import testing

from pyramid_jinja2.tests.base import Base, Mock
from tests.base import Base, Mock


def dummy_filter(value):
Expand Down

0 comments on commit 7400518

Please sign in to comment.