File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ markers =
19
19
unit: mark test as a unit test (does not require network access)
20
20
functional: mark test as a functional test (does not require network access)
21
21
integ: mark a test as an integration test (requires network access)
22
+ hypothesis: mark a test as using hypothesis (will run many times for each pytest call)
22
23
slow: mark a test as being known to take a long time to complete (order 5s < t < 60s)
23
24
veryslow: mark a test as being known to take a very long time to complete (order t > 60s)
24
25
nope: mark a test as being so slow that it should only be very infrequently (order t > 30m)
Original file line number Diff line number Diff line change @@ -73,13 +73,15 @@ def _serialize_deserialize_cycle(attribute):
73
73
74
74
75
75
@pytest .mark .slow
76
+ @pytest .mark .hypothesis
76
77
@SLOW_SETTINGS
77
78
@hypothesis .given (ddb_attribute_values )
78
79
def test_serialize_deserialize_attribute_slow (attribute ):
79
80
_serialize_deserialize_cycle (attribute )
80
81
81
82
82
83
@pytest .mark .veryslow
84
+ @pytest .mark .hypothesis
83
85
@VERY_SLOW_SETTINGS
84
86
@hypothesis .given (ddb_attribute_values )
85
87
def test_serialize_deserialize_attribute_vslow (attribute ):
@@ -93,13 +95,15 @@ def _ddb_dict_ddb_transform_cycle(item):
93
95
94
96
95
97
@pytest .mark .slow
98
+ @pytest .mark .hypothesis
96
99
@SLOW_SETTINGS
97
100
@hypothesis .given (ddb_items )
98
101
def test_dict_to_ddb_and_back_slow (item ):
99
102
_ddb_dict_ddb_transform_cycle (item )
100
103
101
104
102
105
@pytest .mark .veryslow
106
+ @pytest .mark .hypothesis
103
107
@VERY_SLOW_SETTINGS
104
108
@hypothesis .given (ddb_items )
105
109
def test_dict_to_ddb_and_back_vslow (item ):
Original file line number Diff line number Diff line change @@ -77,13 +77,15 @@ def _serialize_deserialize_cycle(material_description):
77
77
78
78
79
79
@pytest .mark .slow
80
+ @pytest .mark .hypothesis
80
81
@SLOW_SETTINGS
81
82
@hypothesis .given (material_descriptions )
82
83
def test_serialize_deserialize_material_description_slow (material_description ):
83
84
_serialize_deserialize_cycle (material_description )
84
85
85
86
86
87
@pytest .mark .veryslow
88
+ @pytest .mark .hypothesis
87
89
@VERY_SLOW_SETTINGS
88
90
@hypothesis .given (material_descriptions )
89
91
def test_serialize_deserialize_material_description_vslow (material_description ):
You can’t perform that action at this time.
0 commit comments