def main_sortResults(argv):
    mod = SQLQueryDataFile()
    subargv = ["SQLQueryDataFile.py", "-q", DATA_QUERY]
    subargv.extend([
        BASE_RESULT_DIR + FORMATTED_FILENAME, BASE_RESULT_DIR + SORTED_FILENAME
    ])
    mod.main(subargv)
Exemplo n.º 2
0
def main_filter(argv):
    mod = SQLQueryDataFile()
    for resultDir in RESULT_DIRS:
        subargv = ["SQLQueryDataFile.py", "-q", DATA_QUERY]
        subargv.extend(
            [resultDir + CONCATENATE_FILENAME, resultDir + FILTERED_FILENAME])
        mod.main(subargv)
Exemplo n.º 3
0
    def setUp(self):
        """Prepare state for test cases"""
        BaseTestAnalysis.setUp(self)

        # Instance to test on
        self.analyzer = SQLQueryDataFile()