File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,3 @@ def resource_cm():
13
13
def resource_nested_class ():
14
14
with scope_class (resource_cm ) as value :
15
15
yield value
16
-
Original file line number Diff line number Diff line change 11
11
@lymbo .test ()
12
12
def scope_nested_hierarchy ():
13
13
with scope_global (resource_cm ):
14
- with scope_module (resource_cm ):
15
- with scope_class (resource_cm ):
16
- with scope_function (resource_cm ):
17
- print ("ok" , end = "" )
14
+ with scope_global (resource_cm ):
15
+ with scope_module (resource_cm ):
16
+ with scope_module (resource_cm ):
17
+ with scope_class (resource_cm ):
18
+ with scope_class (resource_cm ):
19
+ with scope_function (resource_cm ):
20
+ with scope_function (resource_cm ):
21
+ print ("ok" , end = "" )
18
22
19
23
20
24
@lymbo .test ()
@@ -77,11 +81,10 @@ def scope_nested_shared_resource_1(self):
77
81
def scope_nested_shared_resource_2 (self ):
78
82
79
83
with scope_class (resource_cm ) as value :
80
- print ('{"scope": "nested", "value": "' + str (value ) + '"}' )
81
-
84
+ print ('{"scope": "nested", "value": "' + str (value ) + '"}' )
82
85
83
86
@lymbo .test ()
84
87
def scope_nested_shared_resource_3 (self ):
85
88
86
89
with resource_nested_class () as value :
87
- print ('{"scope": "nested", "value": "' + str (value ) + '"}' )
90
+ print ('{"scope": "nested", "value": "' + str (value ) + '"}' )
You can’t perform that action at this time.
0 commit comments