Skip to content

Commit

Permalink
Merge pull request #46 from BillSchumacher/main
Browse files Browse the repository at this point in the history
v0.7.12
  • Loading branch information
BillSchumacher authored Feb 18, 2024
2 parents 88ccba7 + ed1763f commit 9df90fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion behave_django_steps/given/request/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def request_has_key_with_boolean_value(context, key, value):
def request_has_key_with_numeric_value(context, key, value):
"""Add a key with a value to the request data."""
context.execute_steps("Given request data is available")
if value is None or value == "":
if value is None or value == "" or value == '""':
value = None
else:
value = float(value) if "." in value else int(value)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "behave-django-steps"
version = "0.7.11"
version = "0.7.12"
authors = [
{ name="Bill Schumacher", email="34168009+BillSchumacher@users.noreply.github.com" },
]
Expand Down

0 comments on commit 9df90fa

Please sign in to comment.