Add a blacklist_types argument to object_dicsts() and objects() hypothesis generators
Closed
requested to merge generated-differential-D3037-source into generated-differential-D3037-target
2 unresolved threads
Compare changes
Files
2@@ -16,12 +16,17 @@ from swh.model.model import TargetType
@@ -38,7 +43,7 @@ def assert_nested_dict(obj):
@@ -59,6 +64,11 @@ def test_dicts_generation(obj_type_and_obj):
You should make this a list of
object_dicts
to make the test more relevant.By default, it might only try a couple of objects.
According to my runs, it does at least try one of each types, then the number for each type seems to depend on the strategy used for this type.
Each test execution tries 100 objects.
So I'm not sure what a list would really add there.