File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,14 @@ def setUpClass(cls):
24
24
cls .client_id = '19ndkO3oMKsoChjVVWluF7QkxHRfYhTKSFbAVt8IhK7gZgDaO4'
25
25
cls .client_secret = ('J7FfQ7CQdOxuKhQAf1eoGgBAE81Ns8Gu3EKaWFm3IO2JKh'
26
26
'AmmCWZuabe0O5Mp28s1' )
27
+ cls .rootca = environ .get ('QIITA_ROOTCA_CERT' , None )
27
28
qiita_port = int (environ .get ('QIITA_PORT' , 21174 ))
28
29
29
30
# do not rely on defining ca_cert for these tests. Instead append
30
31
# the appropriate CA cert to certifi's pem file.
31
32
cls .qclient = QiitaClient ("https://localhost:%d" % qiita_port ,
32
- cls .client_id , cls .client_secret )
33
+ cls .client_id , cls .rootca )
34
+
33
35
logger .debug (
34
36
'PluginTestCase.setUpClass() token %s' % cls .qclient ._token )
35
37
cls .qclient .post ('/apitest/reload_plugins/' )
You can’t perform that action at this time.
0 commit comments