MCPcopy Create free account
hub / github.com/nlweb-ai/NLWeb / is_testing_mode

Method is_testing_mode

AskAgent/python/core/config.py:591–593  ·  view source on GitHub ↗

Returns True if the system is running in testing mode.

(self)

Source from the content-addressed store, hash-verified

589 return getattr(self, 'mode', 'production').lower() == 'development'
590
591 def is_testing_mode(self) -> bool:
592 """Returns True if the system is running in testing mode."""
593 return getattr(self, 'mode', 'production').lower() == 'testing'
594
595 def should_raise_exceptions(self) -> bool:
596 """Returns True if exceptions should be raised instead of caught (for testing and development)."""

Callers 2

run_single_testMethod · 0.80

Calls

no outgoing calls

Tested by 1

run_single_testMethod · 0.64