79bdfced13976388ff3542a1081c540761e0a006,tests/test_experiments/test_views.py,TestExperimentOutputsTreeViewV1,test_get,#TestExperimentOutputsTreeViewV1#,1962

Before Change


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

        resp = self.auth_client.get(self.url_second_level)
        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"])

        resp = self.auth_client.get(self.url_second_level2)

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: 4

Instances


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


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: tyarkoni/pliers
Commit Name: ad78f550b8336d557b4d8bcd350cb05bceaa1c12
Time: 2016-09-07
Author: tyarkoni@gmail.com
File Name: featurex/tests/test_stims.py
Class Name: TestStims
Method Name: test_complex_stim_from_srt