mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Fix typos
This commit is contained in:
parent
55b0d7bc62
commit
1bf6b36e99
4 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ from django.conf import settings as django_settings
|
||||||
|
|
||||||
def load_tests(loader, tests, pattern):
|
def load_tests(loader, tests, pattern):
|
||||||
"""
|
"""
|
||||||
As this is an optionnal app, loads its tests only if it is installed.
|
As this is an optional app, load its tests only if it is installed.
|
||||||
"""
|
"""
|
||||||
if "api" in django_settings.INSTALLED_APPS:
|
if "api" in django_settings.INSTALLED_APPS:
|
||||||
return loader.discover(start_dir=dirname(abspath(__file__)), pattern=pattern)
|
return loader.discover(start_dir=dirname(abspath(__file__)), pattern=pattern)
|
|
@ -23,7 +23,7 @@ from django.conf import settings as django_settings
|
||||||
|
|
||||||
def load_tests(loader, tests, pattern):
|
def load_tests(loader, tests, pattern):
|
||||||
"""
|
"""
|
||||||
As this is an optionnal app, loads its tests only if it is installed.
|
As this is an optional app, load its tests only if it is installed.
|
||||||
"""
|
"""
|
||||||
if "ldap_sync" in django_settings.INSTALLED_APPS:
|
if "ldap_sync" in django_settings.INSTALLED_APPS:
|
||||||
return loader.discover(start_dir=dirname(abspath(__file__)), pattern=pattern)
|
return loader.discover(start_dir=dirname(abspath(__file__)), pattern=pattern)
|
|
@ -23,7 +23,7 @@ from django.conf import settings as django_settings
|
||||||
|
|
||||||
def load_tests(loader, tests, pattern):
|
def load_tests(loader, tests, pattern):
|
||||||
"""
|
"""
|
||||||
As this is an optionnal app, loads its tests only if it is installed.
|
As this is an optional app, load its tests only if it is installed.
|
||||||
"""
|
"""
|
||||||
if "api" in django_settings.INSTALLED_APPS:
|
if "api" in django_settings.INSTALLED_APPS:
|
||||||
return loader.discover(start_dir=dirname(abspath(__file__)), pattern=pattern)
|
return loader.discover(start_dir=dirname(abspath(__file__)), pattern=pattern)
|
|
@ -23,7 +23,7 @@ from django.conf import settings as django_settings
|
||||||
|
|
||||||
def load_tests(loader, tests, pattern):
|
def load_tests(loader, tests, pattern):
|
||||||
"""
|
"""
|
||||||
As this is an optionnal app, loads its tests only if it is installed.
|
As this is an optional app, load its tests only if it is installed.
|
||||||
"""
|
"""
|
||||||
if "api" in django_settings.INSTALLED_APPS:
|
if "api" in django_settings.INSTALLED_APPS:
|
||||||
return loader.discover(start_dir=dirname(abspath(__file__)), pattern=pattern)
|
return loader.discover(start_dir=dirname(abspath(__file__)), pattern=pattern)
|
Loading…
Reference in a new issue