def test_update_index(self): # Flush possible caches flush_index() # Test the command call_command( 'update_index' )
def setUp(self): super(RebuildIndexTest, self).setUp() # Flush possible caches flush_index()