diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-05-22 12:23:06 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-05-23 13:33:07 -0500 |
commit | 491029bc364baef9dc0e05832985f3492a7aff77 (patch) | |
tree | 8382634c0e271b5a4d82e315eeea7f1f9503dcbc /mediagoblin/tests/__init__.py | |
parent | 505b4b39b8ca7b273294e5d42d278dd1b89960ea (diff) | |
download | mediagoblin-491029bc364baef9dc0e05832985f3492a7aff77.tar.lz mediagoblin-491029bc364baef9dc0e05832985f3492a7aff77.tar.xz mediagoblin-491029bc364baef9dc0e05832985f3492a7aff77.zip |
Moving test_user_dev->user_dev in plugin app configs & adding plugin static serving
The test_user_dev (as opposed to user_dev) was a legacy before we had
each application running in its own directory (as they now do in
pytest). Move that name to just user_dev... this is more consistent
with the rest of our naming and will make writing these config files
easier. (If we want to test that changing these still works, that
should be a separate unit test with special config files.)
Additionally, add plugin static serving to the common test paste
config file.
This commit sponsored by Juan Jose Marin Martinez. Thank you!
Diffstat (limited to 'mediagoblin/tests/__init__.py')
-rw-r--r-- | mediagoblin/tests/__init__.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/mediagoblin/tests/__init__.py b/mediagoblin/tests/__init__.py index 7a88281e..cf200791 100644 --- a/mediagoblin/tests/__init__.py +++ b/mediagoblin/tests/__init__.py @@ -14,21 +14,9 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -import os -import shutil - -from mediagoblin import mg_globals -from mediagoblin.tests.tools import TEST_USER_DEV - def setup_package(): import warnings from sqlalchemy.exc import SAWarning warnings.simplefilter("error", SAWarning) - - -def teardown_package(): - # Remove and reinstall user_dev directories - if os.path.exists(TEST_USER_DEV): - shutil.rmtree(TEST_USER_DEV) |