コード例 #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)
コード例 #2
0
ファイル: tests.py プロジェクト: snorey/courtlistener
    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)
コード例 #3
0
 def test_make_all_bulk_files(self):
     """Can we successfully generate all bulk files?"""
     Command().execute()