Tests convert logfile to CSV and making sparse. More...
Public Member Functions | |
| def | setUp |
| def | tearDown |
| def | test_export |
| Test that CSV file has correct data, number of lines. | |
| def | test_file_exists |
| Tests that exported file exists and is not None. | |
| def | test_sparse_length |
| Tests that sparse CSV made with 'length' option has correct number of lines. | |
| def | test_sparse_skip |
| Tests that sparse CSV made with 'skip' option has correct number of lines. | |
Public Attributes | |
| bag | |
| exp | |
| filename | |
| length_10 | |
| skip_10 | |
| Make sparse CSV's. | |
Tests convert logfile to CSV and making sparse.
Definition at line 72 of file bag_csv_test.py.
| def bag_csv_test.TestBagToCSV.setUp | ( | self | ) |
Definition at line 73 of file bag_csv_test.py.
| def bag_csv_test.TestBagToCSV.tearDown | ( | self | ) |
Definition at line 125 of file bag_csv_test.py.
| def bag_csv_test.TestBagToCSV.test_export | ( | self | ) |
Test that CSV file has correct data, number of lines.
Definition at line 98 of file bag_csv_test.py.
| def bag_csv_test.TestBagToCSV.test_file_exists | ( | self | ) |
Tests that exported file exists and is not None.
Definition at line 93 of file bag_csv_test.py.
| def bag_csv_test.TestBagToCSV.test_sparse_length | ( | self | ) |
Tests that sparse CSV made with 'length' option has correct number of lines.
Definition at line 122 of file bag_csv_test.py.
| def bag_csv_test.TestBagToCSV.test_sparse_skip | ( | self | ) |
Tests that sparse CSV made with 'skip' option has correct number of lines.
Definition at line 118 of file bag_csv_test.py.
Definition at line 73 of file bag_csv_test.py.
Definition at line 73 of file bag_csv_test.py.
Definition at line 73 of file bag_csv_test.py.
Definition at line 74 of file bag_csv_test.py.
Make sparse CSV's.
Definition at line 74 of file bag_csv_test.py.