def test_first_and_second_log_entry(): assert len(unique_log_entries()) == 2
def test_entries_when_error(mock_open): assert unique_log_entries() == {}
def test_first_twice_log_entry(): assert len(unique_log_entries()) == 1