summaryrefslogtreecommitdiff
path: root/systemd/test/test_journal.py
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/test/test_journal.py')
-rw-r--r--systemd/test/test_journal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/test/test_journal.py b/systemd/test/test_journal.py
index ce6ba97..93b966e 100644
--- a/systemd/test/test_journal.py
+++ b/systemd/test/test_journal.py
@@ -90,7 +90,7 @@ def test_journalhandler_info():
record = logging.LogRecord('test-logger', logging.INFO, 'testpath', 1, 'test', None, None)
sender = MockSender()
- kw = {'X':3, 'X3':4, 'SENDER_FUNCTION': sender.send}
+ kw = {'X':3, 'X3':4, 'sender_function': sender.send}
handler = journal.JournalHandler(logging.INFO, **kw)
handler.emit(record)
assert len(sender.buf) == 1