Skip to content

Commit

Permalink
🚑 saas_cluster_main: remove duplicate code, that lead tests not running
Browse files Browse the repository at this point in the history
  • Loading branch information
em230418 committed Mar 23, 2022
1 parent f3be190 commit 60bdaa7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions saas_cluster_simple/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@ def create_db(template_db, db_name, demo, lang="en_US", **kw):
if tools.config["init"]:
tools.config["init"] = {}

# we don't need tests in templates and builds
test_enable = tools.config["test_enable"]
if test_enable:
tools.config["test_enable"] = {}

with turn_off_tests():
if template_db:
with closing(sql_db.db_connect(template_db).cursor()) as cr:
Expand Down

0 comments on commit 60bdaa7

Please sign in to comment.