14
14
)
15
15
16
16
from ..fixtures import big_schema_introspection_result , big_schema_sdl # noqa: F401
17
- from ..utils import dedent , timeout_factor
17
+ from ..utils import dedent
18
18
19
19
20
20
def introspection_to_sdl (introspection : IntrospectionQuery ) -> str :
@@ -108,7 +108,7 @@ def can_deep_copy_pickled_schema():
108
108
109
109
@mark .slow
110
110
def describe_deepcopy_and_pickle_big (): # pragma: no cover
111
- @mark .timeout (20 * timeout_factor )
111
+ @mark .timeout (20 )
112
112
def can_deep_copy_big_schema (big_schema_sdl ): # noqa: F811
113
113
# introspect the original big schema
114
114
big_schema = build_schema (big_schema_sdl )
@@ -119,7 +119,7 @@ def can_deep_copy_big_schema(big_schema_sdl): # noqa: F811
119
119
# check that introspecting the copied schema gives the same result
120
120
assert introspection_from_schema (copied ) == expected_introspection
121
121
122
- @mark .timeout (60 * timeout_factor )
122
+ @mark .timeout (60 )
123
123
def can_pickle_and_unpickle_big_schema (big_schema_sdl ): # noqa: F811
124
124
# introspect the original big schema
125
125
big_schema = build_schema (big_schema_sdl )
@@ -153,7 +153,7 @@ def can_pickle_and_unpickle_big_schema(big_schema_sdl): # noqa: F811
153
153
finally :
154
154
sys .setrecursionlimit (limit )
155
155
156
- @mark .timeout (60 * timeout_factor )
156
+ @mark .timeout (60 )
157
157
def can_deep_copy_pickled_big_schema (big_schema_sdl ): # noqa: F811
158
158
# introspect the original big schema
159
159
big_schema = build_schema (big_schema_sdl )
0 commit comments