Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alzpeta committed Dec 6, 2023
1 parent bdc68e8 commit 4313650
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions oarepo_ui/resources/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ def search(self):

search_app_config = search_config(app_id=app_id)

_catalog.jinja_env.globals["current_user"] = current_user

return _catalog.render(
"search",
__source=source,
Expand Down Expand Up @@ -363,8 +361,6 @@ def edit(self):
"search_link": self.config.url_prefix,
}

_catalog.jinja_env.globals["current_user"] = current_user

return _catalog.render(
"edit",
__source=source,
Expand Down Expand Up @@ -420,8 +416,6 @@ def create(self):
_catalog, template_def, ["record", "extra_context", "form_config", "data"]
)

_catalog.jinja_env.globals["current_user"] = current_user

return _catalog.render(
"create",
__source=source,
Expand Down
2 changes: 1 addition & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if test -d $VENV ; then
rm -rf $VENV
fi

python3 -m venv $VENV
python3.9 -m venv $VENV
. $VENV/bin/activate
pip install -U setuptools pip wheel

Expand Down

0 comments on commit 4313650

Please sign in to comment.