heynemann/preggy — pull request #3 by Zearin (2013-05-03 16:55:22+00:00)
Title: Moved all assertions under `preggy.assertions`

When refactoring PyVows to use preggy, I discovered there was no easy way to say, “import all assertion functions from preggy”.

Instead, it would have required something like this:

from preggy import to_be_empty, to_be_null, to_be_like, to_length ...
...

Which isn’t fun.

Instead, this should allow code to just say:

from preggy.assertions import *