mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
tests: journal_lock: test_update_lock_same: Make .obtain.lock()
an assert
This commit is contained in:
parent
b47f278655
commit
9915c5435d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user