diff --git a/hobo/agent/common/management/commands/hobo_deploy.py b/hobo/agent/common/management/commands/hobo_deploy.py index e41ed96..ab43ec2 100644 --- a/hobo/agent/common/management/commands/hobo_deploy.py +++ b/hobo/agent/common/management/commands/hobo_deploy.py @@ -147,8 +147,6 @@ class Command(BaseCommand): theme = get_theme(theme_id) if not theme: return - if not theme.get('module'): - return return theme def configure_theme(self, hobo_environment, tenant): diff --git a/tests/test_hobo_deploy.py b/tests/test_hobo_deploy.py index fa06c93..ee94d50 100644 --- a/tests/test_hobo_deploy.py +++ b/tests/test_hobo_deploy.py @@ -323,9 +323,6 @@ def test_get_theme(fake_themes): command.me = HOBO assert command.get_theme(ENVIRONMENT) is None - # can't test last return case as it could never append - # if not theme.get('module'): # TODO: dead code to remove - def test_configure_theme(fake_themes, tmpdir): """make symlink for TENANT/theme