MCPcopy
hub / github.com/django/django / add

Method add

tests/messages_tests/utils.py:10–11  ·  view source on GitHub ↗
(self, level, message, extra_tags="")

Source from the content-addressed store, hash-verified

8 self.store = []
9
10 def add(self, level, message, extra_tags=""):
11 self.store.append(Message(level, message, extra_tags))
12
13 def __iter__(self):
14 return iter(self.store)

Callers 15

get_test_modulesFunction · 0.45
setup_run_testsFunction · 0.45
test_addMethod · 0.45
test_expirationMethod · 0.45
test_addMethod · 0.45
test_expirationMethod · 0.45
test_unicodeMethod · 0.45
test_binary_stringMethod · 0.45
test_long_timeoutMethod · 0.45
test_forever_timeoutMethod · 0.45
test_zero_timeoutMethod · 0.45

Calls 2

MessageClass · 0.90
appendMethod · 0.45

Tested by 15

get_test_modulesFunction · 0.36
setup_run_testsFunction · 0.36
test_addMethod · 0.36
test_expirationMethod · 0.36
test_addMethod · 0.36
test_expirationMethod · 0.36
test_unicodeMethod · 0.36
test_binary_stringMethod · 0.36
test_long_timeoutMethod · 0.36
test_forever_timeoutMethod · 0.36
test_zero_timeoutMethod · 0.36