Exemple #1
0
    def setUp(self):
        """Setup method."""
        from ggrc.fulltext import listeners

        self.clear_data()
        self._custom_headers = {}
        self.headers = {}
        api_helper.wrap_client_calls(self.client)
        listeners.reindex_on_commit = lambda: True  # Turn off background indexing
Exemple #2
0
  def setUp(self):
    """Setup method."""
    from ggrc.fulltext import listeners

    self.clear_data()
    self._custom_headers = {}
    self.headers = {}
    api_helper.wrap_client_calls(self.client)
    listeners.reindex_on_commit = lambda: True  # Turn off background indexing
Exemple #3
0
 def setUp(self):
     """Setup method."""
     self.clear_data()
     self._custom_headers = {}
     self.headers = {}
     api_helper.wrap_client_calls(self.client)