Skip to main content

Hypothesis extension for generating filesystem paths

Project description

Hypothesis extension for generating filesystem paths. Anything the built-in Python function open() accepts can be generated.

Example

from hypothesis import given
from hypothesis_fspaths import fspaths

@given(fspaths())
def test_open_file(path):
    try:
        open(path).close()
    except IOError:
        pass
https://travis-ci.org/lazka/hypothesis-fspaths.svg?branch=master

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hypothesis-fspaths-0.1.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file hypothesis-fspaths-0.1.tar.gz.

File metadata

File hashes

Hashes for hypothesis-fspaths-0.1.tar.gz
Algorithm Hash digest
SHA256 d1124ddc2a37cb54cdaa573bb16a40841a37598c8fc7b83dd07babffc6b01368
MD5 b0656674f89707353ce78bfb3448c1ff
BLAKE2b-256 be00208e4c5be58fdc92aa7bfac82e94c524150183fc8b0ec995d70d6e0db43c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page