示例#1
0
 def test_update_index(self):
     # Flush possible caches
     flush_index()
     # Test the command
     call_command(
         'update_index'
     )
示例#2
0
 def test_update_index(self):
     # Flush possible caches
     flush_index()
     # Test the command
     call_command(
         'update_index'
     )
示例#3
0
 def setUp(self):
     super(RebuildIndexTest, self).setUp()
     # Flush possible caches
     flush_index()
示例#4
0
 def setUp(self):
     super(RebuildIndexTest, self).setUp()
     # Flush possible caches
     flush_index()