File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -42,19 +42,19 @@ class TestCaseManagementV1(unittest.TestCase):
42
42
file_attachment_id = ''
43
43
44
44
@classmethod
45
- def setUpClass (self ):
45
+ def setUpClass (cls ):
46
46
47
47
if not configLoaded :
48
48
raise unittest .SkipTest ('External configuration not available, skipping...' )
49
49
50
- self .service = CaseManagementV1 .new_instance ()
51
- assert self .service is not None
50
+ cls .service = CaseManagementV1 .new_instance ()
51
+ assert cls .service is not None
52
52
53
- self .config = read_external_sources (CaseManagementV1 .DEFAULT_SERVICE_NAME )
54
- assert self .config is not None
55
- assert self .config ['APIKEY' ] is not None
56
- assert self .config ['AUTHTYPE' ] is not None
57
- assert self .config ['AUTH_URL' ] is not None
53
+ cls .config = read_external_sources (CaseManagementV1 .DEFAULT_SERVICE_NAME )
54
+ assert cls .config is not None
55
+ assert cls .config ['APIKEY' ] is not None
56
+ assert cls .config ['AUTHTYPE' ] is not None
57
+ assert cls .config ['AUTH_URL' ] is not None
58
58
59
59
print ('\n Setup complete.' )
60
60
You can’t perform that action at this time.
0 commit comments