Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.7.12 #46

Merged
merged 2 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading