diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-09-22 10:30:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-22 10:30:53 +0200 |
| commit | 75d7af43c104afeb0f101a79535cb63814d6d0f9 (patch) | |
| tree | 5e45f386fb08ab1e47e5a58b1655ac0409182e5c /tests | |
| parent | f7806193e6db2dcc82937041cf07036e752515cd (diff) | |
Corrected docstring quotes in various code.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/admin_scripts/tests.py | 2 | ||||
| -rw-r--r-- | tests/forms_tests/tests/test_formsets.py | 2 | ||||
| -rw-r--r-- | tests/forms_tests/widget_tests/test_checkboxselectmultiple.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index 47efe0bdd0..62c6f485aa 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -194,7 +194,7 @@ class DjangoAdminNoSettings(AdminScriptTestCase): self.assertOutput(err, "No module named '?bad_settings'?", regex=True) def test_commands_with_invalid_settings(self): - """" + """ Commands that don't require settings succeed if the settings file doesn't exist. """ diff --git a/tests/forms_tests/tests/test_formsets.py b/tests/forms_tests/tests/test_formsets.py index b9c3de55ca..842843e8cd 100644 --- a/tests/forms_tests/tests/test_formsets.py +++ b/tests/forms_tests/tests/test_formsets.py @@ -266,7 +266,7 @@ class FormsFormsetTestCase(SimpleTestCase): self.assertEqual([form.cleaned_data for form in formset.forms], [{}, {}, {}]) def test_min_num_displaying_more_than_one_blank_form(self): - """" + """ More than 1 empty form can also be displayed using formset_factory's min_num argument. It will (essentially) increment the extra argument. """ diff --git a/tests/forms_tests/widget_tests/test_checkboxselectmultiple.py b/tests/forms_tests/widget_tests/test_checkboxselectmultiple.py index 07e5cca935..42555d98a6 100644 --- a/tests/forms_tests/widget_tests/test_checkboxselectmultiple.py +++ b/tests/forms_tests/widget_tests/test_checkboxselectmultiple.py @@ -196,7 +196,7 @@ class CheckboxSelectMultipleTest(WidgetTest): self.assertIs(widget.value_omitted_from_data({'field': 'value'}, {}, 'field'), False) def test_label(self): - """" + """ CheckboxSelectMultiple doesn't contain 'for="field_0"' in the <label> because clicking that would toggle the first checkbox. """ |
