e295ddbb5b69ea7d142ed1bae575a6881f7f5d19,tests/test_experiments/test_views.py,TestExperimentOutputsTreeViewV1,test_get,#TestExperimentOutputsTreeViewV1#,1991

Before Change


        self.assert_same_content(resp.data["files"], self.second_level["files"])
        self.assert_same_content(resp.data["dirs"], self.second_level["dirs"])

        resp = self.auth_client.get(self.url_second_level2)
        assert resp.status_code == status.HTTP_200_OK
        self.assert_same_content(resp.data["files"], self.second_level["files"])
        self.assert_same_content(resp.data["dirs"], self.second_level["dirs"])

After Change


        assert resp.status_code == status.HTTP_200_OK

        data = [i for i in resp._iterator]  // pylint:disable=protected-access
        data = [d for d in data[0].decode("utf-8").split("\n") if d]
        assert len(data) == len(self.logs)
        assert data == self.logs

    def test_post_logs(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: polyaxon/polyaxon
Commit Name: e295ddbb5b69ea7d142ed1bae575a6881f7f5d19
Time: 2018-11-02
Author: mouradmourafiq@gmail.com
File Name: tests/test_experiments/test_views.py
Class Name: TestExperimentOutputsTreeViewV1
Method Name: test_get


Project Name: dmnfarrell/pandastable
Commit Name: b8c1fd912f5ac4a6ab659d1f0c0612bd3c136e37
Time: 2015-06-29
Author: farrell.damien@gmail.com
File Name: pandastable/rename.py
Class Name: BatchRenameApp
Method Name: dopreview


Project Name: polyaxon/polyaxon
Commit Name: 79bdfced13976388ff3542a1081c540761e0a006
Time: 2018-11-02
Author: mouradmourafiq@gmail.com
File Name: tests/test_experiments/test_views.py
Class Name: TestExperimentOutputsTreeViewV1
Method Name: test_get