Skip to content

Commit 176bd42

Browse files
committed
fix test runner deprecation warnings
1 parent 061c902 commit 176bd42

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/test_app/forms/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class BasicForm(forms.Form):
3030
typed_multiple_choice_field = forms.TypedMultipleChoiceField(
3131
label="typed multiple choice", choices=[("1", "One"), ("2", "Two")]
3232
)
33-
url_field = forms.URLField(label="URL")
33+
url_field = forms.URLField(label="URL", assume_scheme="http")
3434
uuid_field = forms.UUIDField(label="UUID")
3535
combo_field = forms.ComboField(label="combo", fields=[forms.CharField(), forms.EmailField()])
3636
password_field = forms.CharField(label="password", widget=forms.PasswordInput)

tests/test_app/settings_multi_db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# Application definition
1919
INSTALLED_APPS = [
20-
"servestatic.runserver_nostatic",
20+
"servestatic",
2121
"daphne", # Overrides `runserver` command with an ASGI server
2222
"django.contrib.admin",
2323
"django.contrib.auth",

tests/test_app/settings_single_db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# Application definition
1919
INSTALLED_APPS = [
20-
"servestatic.runserver_nostatic",
20+
"servestatic",
2121
"daphne", # Overrides `runserver` command with an ASGI server
2222
"django.contrib.admin",
2323
"django.contrib.auth",

0 commit comments

Comments
 (0)