Fixed typos in test comments.
This commit is contained in:
parent
87bb746ea6
commit
bbf09254a3
|
@ -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',
|
||||||
|
|
|
@ -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" %}
|
||||||
|
|
||||||
|
|
|
@ -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)),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue