This commit is contained in:
@@ -27,7 +27,9 @@ def test_learning_skip_for_implicit_hide(profile, job, user):
|
||||
|
||||
|
||||
def test_learning_marks_explicit_title_hide_as_nonlearning(profile, job, user):
|
||||
feedback = record_feedback(user=user, job=job, action=Feedback.Action.HIDE, reason="Titel past niet bij mij")
|
||||
feedback = record_feedback(
|
||||
user=user, job=job, action=Feedback.Action.HIDE, reason="Titel past niet bij mij"
|
||||
)
|
||||
metadata = feedback.metadata.get("learning", {})
|
||||
assert metadata["status"] == "queued"
|
||||
assert metadata["reason_code"] == "non_learning_title"
|
||||
|
||||
Reference in New Issue
Block a user