aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-06-15 12:32:20 -0700
committerRodney Ewing <ewing.rj@gmail.com>2013-06-15 12:32:20 -0700
commit54ef2c408bdae8a7b827ce648567ae94573a99e3 (patch)
tree36ca249f47cc13564e154f2bd31c6e5f36808b4f /mediagoblin/tests
parent5101c469d71286f00e1094ee82e7e15d707f91e4 (diff)
downloadmediagoblin-54ef2c408bdae8a7b827ce648567ae94573a99e3.tar.lz
mediagoblin-54ef2c408bdae8a7b827ce648567ae94573a99e3.tar.xz
mediagoblin-54ef2c408bdae8a7b827ce648567ae94573a99e3.zip
moved authentication_disabled to config_spec
Diffstat (limited to 'mediagoblin/tests')
-rw-r--r--mediagoblin/tests/appconfig_plugin_specs.ini4
-rw-r--r--mediagoblin/tests/auth_configs/no_auth_plugin_appconfig.ini1
-rw-r--r--mediagoblin/tests/test_auth.py1
-rw-r--r--mediagoblin/tests/test_mgoblin_app.ini1
4 files changed, 0 insertions, 7 deletions
diff --git a/mediagoblin/tests/appconfig_plugin_specs.ini b/mediagoblin/tests/appconfig_plugin_specs.ini
index 68649257..5511cd97 100644
--- a/mediagoblin/tests/appconfig_plugin_specs.ini
+++ b/mediagoblin/tests/appconfig_plugin_specs.ini
@@ -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"
diff --git a/mediagoblin/tests/auth_configs/no_auth_plugin_appconfig.ini b/mediagoblin/tests/auth_configs/no_auth_plugin_appconfig.ini
index 87b3aab0..a64e9e40 100644
--- a/mediagoblin/tests/auth_configs/no_auth_plugin_appconfig.ini
+++ b/mediagoblin/tests/auth_configs/no_auth_plugin_appconfig.ini
@@ -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"
diff --git a/mediagoblin/tests/test_auth.py b/mediagoblin/tests/test_auth.py
index 9630305a..83e71580 100644
--- a/mediagoblin/tests/test_auth.py
+++ b/mediagoblin/tests/test_auth.py
@@ -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):
diff --git a/mediagoblin/tests/test_mgoblin_app.ini b/mediagoblin/tests/test_mgoblin_app.ini
index 6bd32b69..5b060d36 100644
--- a/mediagoblin/tests/test_mgoblin_app.ini
+++ b/mediagoblin/tests/test_mgoblin_app.ini
@@ -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"