ec43877cd7881e10bbcd3239644062f9c7ed6132,api/data_refinery_api/tests.py,APITestCases,test_create_dataset_fails_without_email,#APITestCases#,483

Before Change


        )

        activated_token = response.json()
        self.assertEqual(activated_token["id"], token_id)
        self.assertEqual(activated_token["is_activated"], True)

        // Good, except for missing email.
        jdata = json.dumps(

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"]

        // Good, except for missing email.
        jdata = json.dumps(
            {"start": True, "data": {"GSE123": ["789"]}, "token_id": token_id}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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_create_dataset_fails_without_email


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_starting_dataset_fails_without_experiments


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_update_dataset