Skip to content

Commit a3e85f1

Browse files
committed
shorter db name and noqa
1 parent 79659ae commit a3e85f1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pytest_django_test/settings_mysql_innodb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
DATABASES = {
44
"default": {
55
"ENGINE": "django.db.backends.mysql",
6-
"NAME": "pytest_django_should_never_get_accessed" + db_suffix,
6+
"NAME": "pytest_django_should_never_get_used" + db_suffix, # noqa: F405
77
"HOST": "localhost",
88
"USER": "root",
99
"OPTIONS": {"init_command": "SET default_storage_engine=InnoDB"},

pytest_django_test/settings_mysql_myisam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
DATABASES = {
44
"default": {
55
"ENGINE": "django.db.backends.mysql",
6-
"NAME": "pytest_django_should_never_get_accessed" + db_suffix,
6+
"NAME": "pytest_django_should_never_get_used" + db_suffix, # noqa: F405
77
"HOST": "localhost",
88
"USER": "root",
99
"OPTIONS": {"init_command": "SET default_storage_engine=MyISAM"},

pytest_django_test/settings_postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
DATABASES = {
1313
"default": {
1414
"ENGINE": "django.db.backends.postgresql_psycopg2",
15-
"NAME": "pytest_django_should_never_get_accessed" + db_suffix,
15+
"NAME": "pytest_django_should_never_get_used" + db_suffix, # noqa: F405
1616
"HOST": "localhost",
1717
"USER": "",
1818
}

pytest_django_test/settings_sqlite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
DATABASES = {
44
"default": {
55
"ENGINE": "django.db.backends.sqlite3",
6-
"NAME": "/should_not_be_accessed" + db_suffix,
6+
"NAME": "/should_not_be_accessed",
77
}
88
}

pytest_django_test/settings_sqlite_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
DATABASES = {
1212
"default": {
1313
"ENGINE": "django.db.backends.sqlite3",
14-
"NAME": "/pytest_django_should_never_get_accessed" + db_suffix,
14+
"NAME": "/pytest_django_should_never_get_used" + db_suffix, # noqa: F405
1515
"TEST": {"NAME": _filename},
1616
}
1717
}

0 commit comments

Comments
 (0)