moved authentication_disabled to config_spec
This commit is contained in:
@@ -12,10 +12,6 @@ email_debug_mode = true
|
||||
# Set to false to disable registrations
|
||||
allow_registration = true
|
||||
|
||||
# Set to true to run an instance with no authentication plugins enabled.
|
||||
# You will not be able to login or register
|
||||
authentication_disabled = false
|
||||
|
||||
[plugins]
|
||||
[[mediagoblin.tests.testplugins.pluginspec]]
|
||||
some_string = "not blork"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
direct_remote_path = /test_static/
|
||||
email_sender_address = "notice@mediagoblin.example.org"
|
||||
email_debug_mode = true
|
||||
authentication_disabled = false
|
||||
|
||||
# TODO: Switch to using an in-memory database
|
||||
sql_engine = "sqlite:///%(here)s/user_dev/mediagoblin.db"
|
||||
|
||||
@@ -24,7 +24,6 @@ from mediagoblin.tests.tools import get_app, fixture_add_user
|
||||
from mediagoblin.tools import template, mail
|
||||
from mediagoblin.auth.tools import AuthError
|
||||
from mediagoblin.auth import tools as auth_tools
|
||||
from mediagoblin import auth
|
||||
|
||||
|
||||
def test_register_views(test_app):
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
direct_remote_path = /test_static/
|
||||
email_sender_address = "notice@mediagoblin.example.org"
|
||||
email_debug_mode = true
|
||||
authentication_disabled = false
|
||||
|
||||
# TODO: Switch to using an in-memory database
|
||||
sql_engine = "sqlite:///%(here)s/user_dev/mediagoblin.db"
|
||||
|
||||
Reference in New Issue
Block a user