MCPcopy Create free account
hub / github.com/CompPhysVienna/n2p2 / test_add_nonstring_entry

Method test_add_nonstring_entry

test/python/test_Log.py:25–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 l = Log()
24 l.addLogEntry("Testing...")
25 def test_add_nonstring_entry(self):
26 l = Log()
27 with pytest.raises(TypeError):
28 l.addLogEntry(123)
29
30class Test_getLog:
31 def test_read_two_entries(self):

Callers

nothing calls this directly

Calls 2

addLogEntryMethod · 0.95
LogClass · 0.85

Tested by

no test coverage detected