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
 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
Exemplo n.º 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
Exemplo n.º 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