Пример #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()