Fixed typos in test comments.

This commit is contained in:
luzpaz 2021-06-07 14:54:28 -04:00 committed by GitHub
parent 87bb746ea6
commit bbf09254a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1367,7 +1367,7 @@ class SeleniumTests(AdminSeleniumTestCase):
self.selenium.get(self.live_server_url + reverse('admin:admin_inlines_course_add')) self.selenium.get(self.live_server_url + reverse('admin:admin_inlines_course_add'))
toggle_button = self.selenium.find_element_by_css_selector('#toggle-nav-sidebar') toggle_button = self.selenium.find_element_by_css_selector('#toggle-nav-sidebar')
toggle_button.click() toggle_button.click()
# Each combination of horizontal/vertical fiter with stacked/tabular # Each combination of horizontal/vertical filter with stacked/tabular
# inlines. # inlines.
tests = [ tests = [
'admin:admin_inlines_course_add', 'admin:admin_inlines_course_add',

View File

@ -85,7 +85,7 @@ continued here.{% endcomment %}
{% blocktranslate context 'Special blocktranslate context wrapped in single quotes' %}Translatable literal with context wrapped in single quotes{% endblocktranslate %} {% blocktranslate context 'Special blocktranslate context wrapped in single quotes' %}Translatable literal with context wrapped in single quotes{% endblocktranslate %}
{% blocktranslate context "Special blocktranslate context wrapped in double quotes" %}Translatable literal with context wrapped in double quotes{% endblocktranslate %} {% blocktranslate context "Special blocktranslate context wrapped in double quotes" %}Translatable literal with context wrapped in double quotes{% endblocktranslate %}
{# Backwards compatability tests #} {# Backwards compatibility tests #}
{% blocktrans %}blocktrans text{% endblocktrans %} {% blocktrans %}blocktrans text{% endblocktrans %}
{% trans "trans text" %} {% trans "trans text" %}

View File

@ -1088,7 +1088,7 @@ class ModelStateTests(SimpleTestCase):
'Tag', 'Tag',
[ [
('id', models.AutoField(primary_key=True)), ('id', models.AutoField(primary_key=True)),
# Purposedly re-ordered. # Purposely re-ordered.
('hidden', models.BooleanField()), ('hidden', models.BooleanField()),
('name', models.CharField(max_length=100)), ('name', models.CharField(max_length=100)),
], ],