How to use the gallerize.parse_dimension_arg function in gallerize

To help you get started, we’ve selected a few gallerize examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github homeworkprod / gallerize / test_gallerize.py View on Github external
def test_parse_dimension_arg(arg_value, expected_width, expected_height):
    actual = parse_dimension_arg(arg_value)

    assert actual.width == expected_width
    assert actual.height == expected_height

gallerize

Create a static HTML/CSS image gallery from a bunch of images.

GPL-3.0
Latest version published 4 years ago

Package Health Score

45 / 100
Full package analysis