We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 671f4c4 commit 80e57daCopy full SHA for 80e57da
qiita_client/testing.py
@@ -24,12 +24,14 @@ def setUpClass(cls):
24
cls.client_id = '19ndkO3oMKsoChjVVWluF7QkxHRfYhTKSFbAVt8IhK7gZgDaO4'
25
cls.client_secret = ('J7FfQ7CQdOxuKhQAf1eoGgBAE81Ns8Gu3EKaWFm3IO2JKh'
26
'AmmCWZuabe0O5Mp28s1')
27
+ cls.rootca = environ.get('QIITA_ROOTCA_CERT', None)
28
qiita_port = int(environ.get('QIITA_PORT', 21174))
29
30
# do not rely on defining ca_cert for these tests. Instead append
31
# the appropriate CA cert to certifi's pem file.
32
cls.qclient = QiitaClient("https://localhost:%d" % qiita_port,
- cls.client_id, cls.client_secret)
33
+ cls.client_id, cls.rootca)
34
+
35
logger.debug(
36
'PluginTestCase.setUpClass() token %s' % cls.qclient._token)
37
cls.qclient.post('/apitest/reload_plugins/')
0 commit comments