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)
def test_make_all_bulk_files(self): """Can we successfully generate all bulk files?""" Command().execute()