Move custom templates into the config package

This commit is contained in:
John Davis
2022-11-21 18:12:04 -05:00
parent f8bd0cfa31
commit 86cc0f2b69
6 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -33,6 +33,7 @@ include_package_data = True
install_requires =
galaxy-util
boltons
jinja2
pykwalify
PyYAML
packages = find:
-1
View File
@@ -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"}