- Apr 21, 2020
-
-
David Douard authored
so one can choose not to generate some of the object types. Blacklist "origin_visit_status" by default to prevent breaking dependent packages' tests.
-
- Apr 20, 2020
-
-
Antoine R. Dumont 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
-
- Apr 08, 2020
-
-
David Douard authored
- blackify all the python files, - enable black in pre-commit, - add a black tox environment.
-
- Apr 02, 2020
-
-
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
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.
-
- Mar 31, 2020
-
-
Antoine R. Dumont authored
(pairing with @vlorentz) Related to T2310
-
- Mar 11, 2020
-
-
David Douard authored
it was still here for bw-compat but should not be necessary any more.
-
- 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).
-
- Feb 27, 2020
-
-
Nicolas Dandrimont authored
-
Antoine R. Dumont authored
-
- Feb 07, 2020
-
-
vlorentz authored
The current postgresql model refuses NULL values.
- Feb 05, 2020
-
- Dec 02, 2019
-
-
Antoine Lambert authored
-
- Nov 29, 2019
-
-
Antoine Lambert authored
Add support to automatically compute identifier in the following object models: Directory, Release, Revision, Snapshot. If the identifier is not provided as parameter, it will be computed when the model is initialized.
-
- Oct 30, 2019
-
- Oct 29, 2019
-
-
David Douard authored
we do not really need them to be mutable, plus we gain their instances now being hashable, so we can add them in set() for example.
-
- Aug 22, 2019
-
-
vlorentz authored
-
- Aug 21, 2019
-
-
vlorentz authored
-
- Aug 19, 2019
-
-
vlorentz authored
-
- Jun 05, 2019
-
-
vlorentz authored
pgsql does not support it.
-
- Jun 03, 2019
-
-
vlorentz authored
-
- Apr 11, 2019
-
-
Nicolas Dandrimont authored
-
- Apr 09, 2019
-
- Apr 08, 2019
-
-
vlorentz authored
-