fb1ec3126774d4823d1bb2a95d7bcb0c134f7264,tests/test_algorithms_host_footprint.py,,test_predict,#,23
Before Change
input_file = os.path.join(testdata, "combined.csv")
operation = "train"
k_folds = "2"
sys.argv = ["host_footprint.py", "--operation", operation, "--kfolds", k_folds, input_file]
instance = HostFootprint()
instance.main()
operation = "predict"
sys.argv = ["host_footprint.py", "--operation", operation, input_file]
After Change
shutil.copytree("./tests/test_data", testdata)
input_file = os.path.join(testdata, "combined.csv")
operation = "train"
sys.argv = hf_args(tmpdir, operation, input_file)
instance = HostFootprint()
instance.main()
operation = "predict"
sys.argv = hf_args(tmpdir, operation, input_file)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: CyberReboot/NetworkML
Commit Name: fb1ec3126774d4823d1bb2a95d7bcb0c134f7264
Time: 2020-04-19
Author: josh@vandervecken.com
File Name: tests/test_algorithms_host_footprint.py
Class Name:
Method Name: test_predict
Project Name: CyberReboot/NetworkML
Commit Name: fb1ec3126774d4823d1bb2a95d7bcb0c134f7264
Time: 2020-04-19
Author: josh@vandervecken.com
File Name: tests/test_algorithms_host_footprint.py
Class Name:
Method Name: test_train
Project Name: CyberReboot/NetworkML
Commit Name: fb1ec3126774d4823d1bb2a95d7bcb0c134f7264
Time: 2020-04-19
Author: josh@vandervecken.com
File Name: tests/test_algorithms_host_footprint.py
Class Name:
Method Name: test_train_bad_data_too_few_columns