mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Move custom templates into the config package
This commit is contained in:
@@ -24,6 +24,7 @@ from galaxy import (
|
||||
schema,
|
||||
util,
|
||||
)
|
||||
from galaxy.config import template
|
||||
from galaxy.managers import (
|
||||
base,
|
||||
deletable,
|
||||
@@ -38,7 +39,6 @@ from galaxy.structured_app import (
|
||||
BasicSharedApp,
|
||||
MinimalManagerApp,
|
||||
)
|
||||
from galaxy.util.custom_templates import template
|
||||
from galaxy.util.hash_util import new_secure_hash_v2
|
||||
from galaxy.web import url_for
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ include_package_data = True
|
||||
install_requires =
|
||||
galaxy-util
|
||||
boltons
|
||||
jinja2
|
||||
pykwalify
|
||||
PyYAML
|
||||
packages = find:
|
||||
|
||||
@@ -35,7 +35,6 @@ install_requires =
|
||||
boltons
|
||||
docutils
|
||||
importlib_resources
|
||||
jinja2
|
||||
MarkupSafe
|
||||
packaging
|
||||
pycryptodome
|
||||
|
||||
@@ -217,9 +217,6 @@ class TestUserManager(BaseTestCase):
|
||||
== ignore_email_capitalization_user
|
||||
)
|
||||
|
||||
def test_register_user_activation(self):
|
||||
pass
|
||||
|
||||
|
||||
# =============================================================================
|
||||
class TestUserSerializer(BaseTestCase):
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""Test custom template configuration and rendering."""
|
||||
|
||||
from galaxy.util.custom_templates import template
|
||||
from galaxy.config import template
|
||||
|
||||
TEMPLATE_RELPATH = "mail/activation-email.html"
|
||||
CONTEXT = {"name": "Jane Doe"}
|
||||
Reference in New Issue
Block a user