Merge pull request #7967 from CuriousLearner/minor-spell-fixes
Minor spell fixes in tests
This commit is contained in:
Коммит
c63a09e86d
|
@ -3567,7 +3567,7 @@ class TestReview(ReviewBase):
|
||||||
doc = pq(response.content)
|
doc = pq(response.content)
|
||||||
assert response.context['show_diff']
|
assert response.context['show_diff']
|
||||||
links = doc('#review-files .file-info .compare')
|
links = doc('#review-files .file-info .compare')
|
||||||
# Comparison should be betweeen the last version and the first,
|
# Comparison should be between the last version and the first,
|
||||||
# ignoring the interim version because it was auto-approved and not
|
# ignoring the interim version because it was auto-approved and not
|
||||||
# manually confirmed by a human.
|
# manually confirmed by a human.
|
||||||
expected = [
|
expected = [
|
||||||
|
@ -3603,7 +3603,7 @@ class TestReview(ReviewBase):
|
||||||
doc = pq(response.content)
|
doc = pq(response.content)
|
||||||
assert response.context['show_diff']
|
assert response.context['show_diff']
|
||||||
links = doc('#review-files .file-info .compare')
|
links = doc('#review-files .file-info .compare')
|
||||||
# Comparison should be betweeen the last version and the second,
|
# Comparison should be between the last version and the second,
|
||||||
# ignoring the third version because it was auto-approved and not
|
# ignoring the third version because it was auto-approved and not
|
||||||
# manually confirmed by a human (the second was auto-approved but
|
# manually confirmed by a human (the second was auto-approved but
|
||||||
# was manually confirmed).
|
# was manually confirmed).
|
||||||
|
@ -3635,7 +3635,7 @@ class TestReview(ReviewBase):
|
||||||
doc = pq(response.content)
|
doc = pq(response.content)
|
||||||
assert response.context['show_diff']
|
assert response.context['show_diff']
|
||||||
links = doc('#review-files .file-info .compare')
|
links = doc('#review-files .file-info .compare')
|
||||||
# Comparison should be betweeen the last version and the second,
|
# Comparison should be between the last version and the second,
|
||||||
# because second was approved by human before auto-approval ran on it
|
# because second was approved by human before auto-approval ran on it
|
||||||
expected = [
|
expected = [
|
||||||
reverse('files.compare', args=[new_file.pk, confirmed_file.pk]),
|
reverse('files.compare', args=[new_file.pk, confirmed_file.pk]),
|
||||||
|
|
Загрузка…
Ссылка в новой задаче