- Apr 20, 2020
-
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
Related to T2367
-
- Apr 17, 2020
-
-
Stefano Zacchiroli authored
and user required=True to check that, as it is the preferred way
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
hat tip to @rdicosmo for noticing
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
- Apr 16, 2020
-
-
Stefano Zacchiroli authored
-
- Apr 10, 2020
-
-
Antoine R. Dumont authored
This also adapts the hypothesis strategies, using the plural form origin_visit_statuses. That plural form is acceptable because in our context, the statuses are countable. Related to T2310
-
Antoine R. Dumont authored
-
- Apr 08, 2020
-
-
David Douard authored
-
David Douard authored
- blackify all the python files, - enable black in pre-commit, - add a black tox environment.
-
Daniele Serafini authored
-
- Apr 02, 2020
-
-
Antoine R. Dumont authored
Hinting at the origin_visit_update model Related to T2310
-
Antoine Lambert authored
A release may have an empty message, for instance those derived from a Mercurial repository. So make that field optional to avoid type validation errors.
-
Antoine Lambert authored
Fix keyword parameters transmission to snapshots_d strategy. Ensure max_size constraint is respected when fixing snapshot aliases.
-
- Apr 01, 2020
-
-
David Douard authored
With support for str representation of date. Mostly for testing purpose.
-
David Douard authored
-
David Douard authored
instead of a reference to an Origin entity.
-
David Douard authored
for each entity model `Model`, provide a `models_d` strategy that produces dicts suitable for using as argument for the `Model.from_dict` factory method, and reimplement the `models` generator using this former hypothesis generator. This is needed to help writing low level tests for model entities.
-
David Douard authored
- add a validator for negative_utc (can be True iff offset is 0), - update the timestamps_with_timezone hypothesis strategy, - add low-level tests for it.
-
David Douard authored
-
David Douard authored
This ensures all instanciated model entities have valid types for attributes. Related to T2308.
-
- Mar 31, 2020
-
-
Antoine R. Dumont authored
(pairing with @vlorentz) Related to T2310
-
- Mar 30, 2020
-
-
Roberto Di Cosmo authored
-
Roberto Di Cosmo authored
-
- Mar 28, 2020
-
-
Roberto Di Cosmo authored
-
Roberto Di Cosmo authored
-
- Mar 23, 2020
-
-
Antoine Pietri authored
-
- Mar 12, 2020
-
-
David Douard authored
These are expected to be bytes, not str.
-
- Mar 11, 2020
-
-
David Douard authored
this does not work in the general case since there is no (recursive) convertion of objects used as model object initialization. We can only check when using the from_dict() factory.
-
David Douard authored
for better clarity on the code author's intention.
-
David Douard authored
it was still here for bw-compat but should not be necessary any more.
-
David Douard authored
this function does not need to be a local function of the to_dict namespace.
-
- Mar 04, 2020
-
- Mar 02, 2020
-
-
Nicolas Dandrimont authored
This generates more realistic contents and avoids spurious HashCollisions when generating a set of objects using these hypothesis strategies, at the cost of slightly worse "boundary checking" (i.e. we won't check contents with a length > 4096 bytes).
-
Nicolas Dandrimont authored
This lets us generate Content objects directly from a bytestring, with the proper set of hashes auto-generated from the contents.
-