def test_single_dimension_attr():
    """
    If you only provide one of width or height, the other should not be added.

    """
    ttag = r"""{% generateimage 'testspec' source=img -- width="50" %}"""
    attrs = get_html_attrs(ttag)
    assert_false('height' in attrs)
dataset/ETHPy150Open matthewwithanm/django-imagekit/tests/test_generateimage_tag.py/test_single_dimension_attr/original