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 582b031..ce6ba97 100644
--- a/systemd/test/test_journal.py
+++ b/systemd/test/test_journal.py
@@ -57,7 +57,7 @@ def skip_valueerror():
pytest.skip()
def test_priorities():
- p = journal.JournalHandler.mapPriority
+ p = journal.JournalHandler.map_priority
assert p(logging.NOTSET) == journal.LOG_DEBUG
assert p(logging.DEBUG) == journal.LOG_DEBUG