summaryrefslogtreecommitdiff
path: root/systemd/test
diff options
context:
space:
mode:
authorWesley Bowman <wesley.bowman23@gmail.com>2017-03-14 22:36:46 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-03-14 17:36:46 -0400
commit73807b49c495105b33b83deec1402080a78b09b0 (patch)
tree098ed978aea93b535480ec130cd211ff1878b9bc /systemd/test
parente121ae49abd2821e16710d036fc726ea11c82a0b (diff)
downloadpython-systemd-73807b49c495105b33b83deec1402080a78b09b0.tar.gz
Fix styling to match PEP8 in most places (#45)
Backwards compatibility for mapPriority is retained.
Diffstat (limited to 'systemd/test')
-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