ec43877cd7881e10bbcd3239644062f9c7ed6132,api/data_refinery_api/tests.py,APITestCases,test_compendia,#APITestCases#,396
Before Change
response = self.client.post(
reverse("token", kwargs={"version": API_VERSION}), content_type="application/json"
)
token = response.json()
token["is_activated"] = True
token_id = token["id"]
response = self.client.put(
reverse("token_id", kwargs={"id": token_id, "version": API_VERSION}),
After Change
// Create a token first
response = self.client.post(
reverse("token", kwargs={"version": API_VERSION}),
json.dumps({"is_activated": True}),
content_type="application/json",
)
token_id = response.json()["id"]
response = self.client.get(
reverse("computed_files", kwargs={"version": API_VERSION}),
{"is_compendia": True},
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: AlexsLemonade/refinebio
Commit Name: ec43877cd7881e10bbcd3239644062f9c7ed6132
Time: 2020-07-15
Author: willvauclain.dev@gmail.com
File Name: api/data_refinery_api/tests.py
Class Name: APITestCases
Method Name: test_compendia
Project Name: AlexsLemonade/refinebio
Commit Name: ec43877cd7881e10bbcd3239644062f9c7ed6132
Time: 2020-07-15
Author: willvauclain.dev@gmail.com
File Name: api/data_refinery_api/tests.py
Class Name: APITestCases
Method Name: test_create_dataset_fails_without_email
Project Name: AlexsLemonade/refinebio
Commit Name: d6475ce2496172e238fb3d3f44430ea567dea439
Time: 2020-08-04
Author: bewilliams111@gmail.com
File Name: api/data_refinery_api/test/test_compendia.py
Class Name: APITestCases
Method Name: test_compendia