schemathesis 4.1.3__py3-none-any.whl → 4.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- schemathesis/generation/coverage.py +2 -2
- {schemathesis-4.1.3.dist-info → schemathesis-4.1.4.dist-info}/METADATA +1 -1
- {schemathesis-4.1.3.dist-info → schemathesis-4.1.4.dist-info}/RECORD +6 -6
- {schemathesis-4.1.3.dist-info → schemathesis-4.1.4.dist-info}/WHEEL +0 -0
- {schemathesis-4.1.3.dist-info → schemathesis-4.1.4.dist-info}/entry_points.txt +0 -0
- {schemathesis-4.1.3.dist-info → schemathesis-4.1.4.dist-info}/licenses/LICENSE +0 -0
@@ -480,7 +480,7 @@ def cover_schema_iter(
|
|
480
480
|
# The `pattern` value may require an non-empty one and the generation will fail
|
481
481
|
# However, it is fine to violate `pattern` here as it is negative string generation anyway
|
482
482
|
value = ""
|
483
|
-
if seen.insert(value):
|
483
|
+
if ctx.is_valid_for_location(value) and seen.insert(value):
|
484
484
|
yield NegativeValue(
|
485
485
|
value, description="String smaller than minLength", location=ctx.current_path
|
486
486
|
)
|
@@ -500,7 +500,7 @@ def cover_schema_iter(
|
|
500
500
|
value = ctx.generate_from_schema(new_schema)
|
501
501
|
else:
|
502
502
|
value = ctx.generate_from_schema(new_schema)
|
503
|
-
if seen.insert(value):
|
503
|
+
if ctx.is_valid_for_location(value) and seen.insert(value):
|
504
504
|
yield NegativeValue(
|
505
505
|
value, description="String smaller than minLength", location=ctx.current_path
|
506
506
|
)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: schemathesis
|
3
|
-
Version: 4.1.
|
3
|
+
Version: 4.1.4
|
4
4
|
Summary: Property-based testing framework for Open API and GraphQL based apps
|
5
5
|
Project-URL: Documentation, https://schemathesis.readthedocs.io/en/stable/
|
6
6
|
Project-URL: Changelog, https://github.com/schemathesis/schemathesis/blob/master/CHANGELOG.md
|
@@ -86,7 +86,7 @@ schemathesis/engine/phases/unit/_executor.py,sha256=pqUISTWvnXb61rgrnzwlFn7PyR-Z
|
|
86
86
|
schemathesis/engine/phases/unit/_pool.py,sha256=iU0hdHDmohPnEv7_S1emcabuzbTf-Cznqwn0pGQ5wNQ,2480
|
87
87
|
schemathesis/generation/__init__.py,sha256=tvNO2FLiY8z3fZ_kL_QJhSgzXfnT4UqwSXMHCwfLI0g,645
|
88
88
|
schemathesis/generation/case.py,sha256=Qc2_5JrWuUkCzAFTTgnVqNUJ2sioslmINTXiY7nHHgA,12326
|
89
|
-
schemathesis/generation/coverage.py,sha256=
|
89
|
+
schemathesis/generation/coverage.py,sha256=_mqzT_ZtnfvOM0I9X4Qul-uw__U-gVqL2x7OOVADACU,56643
|
90
90
|
schemathesis/generation/meta.py,sha256=yYR7EB1f5n7RrzWHZ6YATepurnnc_hEe7HnztRbaaA0,2699
|
91
91
|
schemathesis/generation/metrics.py,sha256=cZU5HdeAMcLFEDnTbNE56NuNq4P0N4ew-g1NEz5-kt4,2836
|
92
92
|
schemathesis/generation/modes.py,sha256=Q1fhjWr3zxabU5qdtLvKfpMFZJAwlW9pnxgenjeXTyU,481
|
@@ -157,8 +157,8 @@ schemathesis/transport/prepare.py,sha256=erYXRaxpQokIDzaIuvt_csHcw72iHfCyNq8VNEz
|
|
157
157
|
schemathesis/transport/requests.py,sha256=XWiQVG4rGnFX0rOhOZAKVIPbrlknLuS7pHYwUcOiEGs,10942
|
158
158
|
schemathesis/transport/serialization.py,sha256=igUXKZ_VJ9gV7P0TUc5PDQBJXl_s0kK9T3ljGWWvo6E,10339
|
159
159
|
schemathesis/transport/wsgi.py,sha256=KoAfvu6RJtzyj24VGB8e-Iaa9smpgXJ3VsM8EgAz2tc,6152
|
160
|
-
schemathesis-4.1.
|
161
|
-
schemathesis-4.1.
|
162
|
-
schemathesis-4.1.
|
163
|
-
schemathesis-4.1.
|
164
|
-
schemathesis-4.1.
|
160
|
+
schemathesis-4.1.4.dist-info/METADATA,sha256=XzysnOK9zHTGzi9iMRMusdXqaIyIinOClMIrjNYk6gg,8540
|
161
|
+
schemathesis-4.1.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
162
|
+
schemathesis-4.1.4.dist-info/entry_points.txt,sha256=hiK3un-xfgPdwj9uj16YVDtTNpO128bmk0U82SMv8ZQ,152
|
163
|
+
schemathesis-4.1.4.dist-info/licenses/LICENSE,sha256=2Ve4J8v5jMQAWrT7r1nf3bI8Vflk3rZVQefiF2zpxwg,1121
|
164
|
+
schemathesis-4.1.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|