Skip to content

Commit b1fe0af

Browse files
committed
21174 -> 8383
1 parent 4793fd2 commit b1fe0af

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This package includes the Qiita Client utility library, a library to simplify th
99

1010
How to test this package?
1111
-------------------------
12-
In order to test the Qiita Client package, a local installation of Qiita should be running in test mode on the address `https://localhost:21174`, with the default test database created in Qiita's test suite.
12+
In order to test the Qiita Client package, a local installation of Qiita should be running in test mode on the address `https://localhost:8383`, with the default test database created in Qiita's test suite.
1313
Also, if Qiita is running with the default server SSL certificate, you need to export the variable `QIITA_ROOTCA_CERT` in your environment, so the Qiita Client can perform secure connections against the Qiita server:
1414

1515
```bash

qiita_client/tests/test_plugin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def html_generator_func(a, b, c, d):
173173
self.qclient.post('/apitest/reload_plugins/')
174174

175175
# Install the current plugin
176-
tester("https://localhost:21174", 'register', 'ignored')
176+
tester("https://localhost:8383", 'register', 'ignored')
177177

178178
# Check that it has been installed
179179
obs = self.qclient.get('/qiita_db/plugins/NewPlugin/1.0.0/')
@@ -214,7 +214,7 @@ def func(qclient, job_id, job_params, working_dir):
214214

215215
tester.generate_config('ls', 'echo')
216216
self.qclient.post('/apitest/reload_plugins/')
217-
tester("https://localhost:21174", 'register', 'ignored')
217+
tester("https://localhost:8383", 'register', 'ignored')
218218

219219
obs = self.qclient.get('/qiita_db/plugins/NewPlugin/0.0.1/')
220220
self.assertEqual(obs['name'], 'NewPlugin')
@@ -230,7 +230,7 @@ def func(qclient, job_id, job_params, working_dir):
230230
'status': 'queued'}
231231
job_id = self.qclient.post('/apitest/processing_job/',
232232
data=data)['job']
233-
tester("https://localhost:21174", job_id, self.outdir)
233+
tester("https://localhost:8383", job_id, self.outdir)
234234

235235
status = self._wait_for_running_job(job_id)
236236
self.assertEqual(status, 'success')

qiita_client/tests/test_qiita_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ def test_format_payload_error(self):
9898
class QiitaClientTests(PluginTestCase):
9999
def setUp(self):
100100
self.ca_cert = environ.get('QIITA_ROOT_CA', None)
101-
self.tester = QiitaClient("https://localhost:21174",
101+
self.tester = QiitaClient("https://localhost:8383",
102102
CLIENT_ID,
103103
CLIENT_SECRET,
104104
self.ca_cert)
105-
self.bad_tester = QiitaClient("https://localhost:21174",
105+
self.bad_tester = QiitaClient("https://localhost:8383",
106106
BAD_CLIENT_ID,
107107
CLIENT_SECRET,
108108
self.ca_cert)
@@ -118,11 +118,11 @@ def tearDown(self):
118118
remove(fp)
119119

120120
def test_init(self):
121-
obs = QiitaClient("https://localhost:21174",
121+
obs = QiitaClient("https://localhost:8383",
122122
CLIENT_ID,
123123
CLIENT_SECRET,
124124
ca_cert=self.ca_cert)
125-
self.assertEqual(obs._server_url, "https://localhost:21174")
125+
self.assertEqual(obs._server_url, "https://localhost:8383")
126126
self.assertEqual(obs._client_id, CLIENT_ID)
127127
self.assertEqual(obs._client_secret, CLIENT_SECRET)
128128
self.assertEqual(obs._verify, self.ca_cert)

0 commit comments

Comments
 (0)