diff --git a/tests/journal_lock.py/test_journal_lock.py b/tests/journal_lock.py/test_journal_lock.py index 330d40f9..3a8c11cb 100644 --- a/tests/journal_lock.py/test_journal_lock.py +++ b/tests/journal_lock.py/test_journal_lock.py @@ -353,7 +353,7 @@ class TestJournalLock: """ # First actually obtain the lock, and check it worked jlock = JournalLock() - jlock.obtain_lock() + assert jlock.obtain_lock() == JournalLockResult.LOCKED assert jlock.locked # Now store the 'current' journaldir for reference and attempt