Ejemplo n.º 1
0
    def setUp(self):
        self.client = Client()

        # Need pagerank file for test_pagerank_file()
        from cl.search.management.commands.cl_calculate_pagerank import Command
        command = Command()
        command.do_pagerank(chown=False)
Ejemplo n.º 2
0
    def setUp(self):
        self.client = Client()

        # Need pagerank file for test_pagerank_file()
        from cl.search.management.commands.cl_calculate_pagerank import Command
        command = Command()
        command.do_pagerank(chown=False)
Ejemplo n.º 3
0
 def test_make_all_bulk_files(self):
     """Can we successfully generate all bulk files?"""
     Command().execute()