コード例 #1
0
 def test_createQueriesList(self):
     """
     Expecting list of queries
     """
     queries_dir = os.path.dirname(os.path.realpath(__file__)) + '/queries/'
     queries = createQueriesList(queries_dir, True)
     assert queries
コード例 #2
0
 def test_3_createQueriesList(self):
     """
     Tests for createQueriesList, weekday < 5 and > 0
     Expecting list of queries
     """
     queries = createQueriesList(self.queries_dir, 4, urls, True)
     assert queries
コード例 #3
0
 def test_5_createQueriesList(self):
     """
     Tests for createQueriesList, weekday=0
     Expecting list of queries
     """
     queries = createQueriesList(self.queries_dir, 0, True)
     assert queries
コード例 #4
0
 def test_3_createQueriesList(self):
     """
     Tests for createQueriesList, weekday < 5 and > 0
     Expecting list of queries
     """
     queries = createQueriesList(self.queries_dir, 4, urls, True)
     assert queries