a5911b860e8ed555da1d3838102943b8b0f5c224,cesium/datasets/tests/test_datasets.py,,test_fetch_asas_training,#,89

Before Change


def test_fetch_asas_training(self):
    Test ASAS training data download.
    num_files = 1
    data_dir = tempfile.mkdtemp()
    asas_training.MD5SUMS = None
    data = asas_training.fetch_asas_training(data_dir)
    assert(data["archive"].endswith("asas_training_set.tar.gz")
           and os.path.exists(data["archive"]))

After Change


    Test ASAS training data download.
    num_files = 1
    asas_training.MD5SUMS = None
    data = asas_training.fetch_asas_training(str(tmpdir))
    assert(data["archive"].endswith("asas_training_set.tar.gz")
           and os.path.exists(data["archive"]))
    header = pd.read_csv(data["header"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: cesium-ml/cesium
Commit Name: a5911b860e8ed555da1d3838102943b8b0f5c224
Time: 2017-03-21
Author: hatsy@users.noreply.github.com
File Name: cesium/datasets/tests/test_datasets.py
Class Name:
Method Name: test_fetch_asas_training


Project Name: cesium-ml/cesium
Commit Name: a5911b860e8ed555da1d3838102943b8b0f5c224
Time: 2017-03-21
Author: hatsy@users.noreply.github.com
File Name: cesium/datasets/tests/test_datasets.py
Class Name:
Method Name: test_fetch_andrzejak


Project Name: cesium-ml/cesium
Commit Name: a5911b860e8ed555da1d3838102943b8b0f5c224
Time: 2017-03-21
Author: hatsy@users.noreply.github.com
File Name: cesium/tests/test_featureset.py
Class Name:
Method Name: test_from_netcdf