UT: Clarify mongo repository reset test

This commit is contained in:
Kekoa Kaaikala 2022-09-14 19:35:37 +00:00
parent 9ec91ec97a
commit 25c3552061
1 changed files with 3 additions and 0 deletions

View File

@ -158,6 +158,9 @@ def test_mongo_event_repository__get_events_by_source_raises(
def test_mongo_event_repository__reset(mongo_repository: IEventRepository):
initial_events = mongo_repository.get_events()
assert initial_events
mongo_repository.reset()
events = mongo_repository.get_events()