Tests convert logfile to CSV and making sparse. More...
Public Member Functions | |
def | setUp (self) |
def | tearDown (self) |
def | test_export (self) |
Test that CSV file has correct data, number of lines. More... | |
def | test_file_exists (self) |
Tests that exported file exists and is not None. More... | |
def | test_sparse_length (self) |
Tests that sparse CSV made with 'length' option has correct number of lines. More... | |
def | test_sparse_skip (self) |
Tests that sparse CSV made with 'skip' option has correct number of lines. More... | |
Public Attributes | |
bag | |
exp | |
filename | |
length_10 | |
skip_10 | |
Make sparse CSV's. More... | |
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.
bag_csv_test.TestBagToCSV.bag |
Definition at line 75 of file bag_csv_test.py.
bag_csv_test.TestBagToCSV.exp |
Definition at line 83 of file bag_csv_test.py.
bag_csv_test.TestBagToCSV.filename |
Definition at line 86 of file bag_csv_test.py.
bag_csv_test.TestBagToCSV.length_10 |
Definition at line 90 of file bag_csv_test.py.
bag_csv_test.TestBagToCSV.skip_10 |
Make sparse CSV's.
Definition at line 89 of file bag_csv_test.py.