e295ddbb5b69ea7d142ed1bae575a6881f7f5d19,tests/test_experiments/test_views.py,TestExperimentOutputsTreeViewV1,test_get,#TestExperimentOutputsTreeViewV1#,1991
Before Change
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"])
@pytest.mark.experiments_mark
class DownloadExperimentOutputsViewTest(BaseViewTest):
After Change
resp = self.auth_client.get(self.url)
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):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
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: 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: stanfordnlp/stanza
Commit Name: 797725fe61e9017ce27109263a0594d2cd472378
Time: 2018-08-22
Author: qipeng@noreply.github.com
File Name: models/pos/data.py
Class Name: DataLoader
Method Name: __getitem__