mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-02 00:21:05 +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
|
# First actually obtain the lock, and check it worked
|
||||||
jlock = JournalLock()
|
jlock = JournalLock()
|
||||||
jlock.obtain_lock()
|
assert jlock.obtain_lock() == JournalLockResult.LOCKED
|
||||||
assert jlock.locked
|
assert jlock.locked
|
||||||
|
|
||||||
# Now store the 'current' journaldir for reference and attempt
|
# Now store the 'current' journaldir for reference and attempt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user