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

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
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: dpressel/mead-baseline
Commit Name: fe75ff5280f1c57e732a6fa0b3e048e9bcef8abd
Time: 2018-05-31
Author: blester125@users.noreply.github.com
File Name: python/baseline/pytorch/tagger/model.py
Class Name: RNNTaggerModel
Method Name: forward


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