mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-02 08:15:22 +00:00
12 lines
224 B
Python
12 lines
224 B
Python
from mitmproxy import log
|
|
|
|
|
|
def test_logentry():
|
|
e = log.LogEntry("foo", "info")
|
|
assert repr(e) == "LogEntry(foo, info)"
|
|
|
|
f = log.LogEntry("foo", "warning")
|
|
assert e == e
|
|
assert e != f
|
|
assert e != 42
|