Skip to content

Commit

Permalink
Merge pull request #248 from Tinkoff/fix-run-test-form
Browse files Browse the repository at this point in the history
fix run test form
  • Loading branch information
SophIren authored Jun 27, 2023
2 parents e02f67f + 9f6d03d commit af3b026
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions overhave/admin/views/feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,9 @@ def edit_view(self) -> werkzeug.Response:
return rendered

logger.debug("Process feature 'RUN' request")
tasks = data["task"].split(",")
self._validate_tasks(tasks=tasks)
if data["task"]:
tasks = data["task"].split(",")
self._validate_tasks(tasks=tasks)

mutable_data = dict(data)
mutable_data["file_path"] = self._make_file_path(data["file_path"])
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "overhave"
version = "4.0.1"
version = "4.0.2"
description = "Overhave - web-framework for BDD"
readme = "README.rst"
authors = [
Expand Down

0 comments on commit af3b026

Please sign in to comment.