Hello community,
here is the log from the commit of package python3-django-appconf for
openSUSE:Factory checked in at 2016-05-25 21:23:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-django-appconf (Old)
and /work/SRC/openSUSE:Factory/.python3-django-appconf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-django-appconf"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python3-django-appconf/python3-django-appconf.changes
2015-02-18 12:09:25.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python3-django-appconf.new/python3-django-appconf.changes
2016-05-25 21:24:04.000000000 +0200
@@ -1,0 +2,19 @@
+Sun May 8 06:59:49 UTC 2016 - [email protected]
+
+- specfile:
+ * changed to https for source url
+ * updated source url to files.pythonhosted.org
+
+
+-------------------------------------------------------------------
+Thu Apr 21 01:17:28 UTC 2016 - [email protected]
+
+- specfile:
+ * update copyright year
+
+- update to version 1.0.2:
+ * Minor fixes to test setup
+ * Update supported Django and Python versions, in line with Django’s
+ own supported versions.
+
+-------------------------------------------------------------------
Old:
----
django-appconf-1.0.1.tar.gz
New:
----
django-appconf-1.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-django-appconf.spec ++++++
--- /var/tmp/diff_new_pack.8ZPNvV/_old 2016-05-25 21:24:05.000000000 +0200
+++ /var/tmp/diff_new_pack.8ZPNvV/_new 2016-05-25 21:24:05.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python3-django-appconf
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: python3-django-appconf
-Version: 1.0.1
+Version: 1.0.2
Release: 0
Url: http://django-appconf.readthedocs.org/
Summary: A Helper Class for Handling Configuration Defaults of Packaged
Apps
License: BSD-3-Clause
Group: Development/Languages/Python
-Source:
http://pypi.python.org/packages/source/d/django-appconf/django-appconf-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/d/django-appconf/django-appconf-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3
BuildRequires: python3-devel
++++++ django-appconf-1.0.1.tar.gz -> django-appconf-1.0.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/.coveragerc
new/django-appconf-1.0.2/.coveragerc
--- old/django-appconf-1.0.1/.coveragerc 2015-02-15 14:20:37.000000000
+0100
+++ new/django-appconf-1.0.2/.coveragerc 1970-01-01 01:00:00.000000000
+0100
@@ -1,6 +0,0 @@
-[run]
-source = appconf
-branch = 1
-
-[report]
-omit = *tests*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/.gitignore
new/django-appconf-1.0.2/.gitignore
--- old/django-appconf-1.0.1/.gitignore 2015-02-15 14:20:37.000000000 +0100
+++ new/django-appconf-1.0.2/.gitignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-build
-dist
-MANIFEST
-*.pyc
-*.egg-info
-*.egg
-docs/_build/
-.coverage
-.tox/
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/.travis.yml
new/django-appconf-1.0.2/.travis.yml
--- old/django-appconf-1.0.1/.travis.yml 2015-02-15 14:20:37.000000000
+0100
+++ new/django-appconf-1.0.2/.travis.yml 1970-01-01 01:00:00.000000000
+0100
@@ -1,30 +0,0 @@
-language: python
-env:
- - TOXENV=flake8-py27
- - TOXENV=flake8-py33
- - TOXENV=py26-dj14
- - TOXENV=py27-dj14
- - TOXENV=py26-dj15
- - TOXENV=py26-dj16
- - TOXENV=py27-dj15
- - TOXENV=py27-dj16
- - TOXENV=py32-dj15
- - TOXENV=py32-dj16
- - TOXENV=py33-dj15
- - TOXENV=py33-dj16
- - TOXENV=py27-dj17
- - TOXENV=py27-dj18
- - TOXENV=py27-dj19
- - TOXENV=py32-dj17
- - TOXENV=py32-dj18
- - TOXENV=py32-dj19
- - TOXENV=py33-dj17
- - TOXENV=py33-dj18
- - TOXENV=py33-dj19
- - TOXENV=py34-dj17
- - TOXENV=py34-dj18
- - TOXENV=py34-dj19
-install:
- - pip install tox
-script:
- - tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/PKG-INFO
new/django-appconf-1.0.2/PKG-INFO
--- old/django-appconf-1.0.1/PKG-INFO 2015-02-15 14:32:20.000000000 +0100
+++ new/django-appconf-1.0.2/PKG-INFO 2016-04-19 21:20:59.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: django-appconf
-Version: 1.0.1
+Version: 1.0.2
Summary: A helper class for handling configuration defaults of packaged apps
gracefully.
Home-page: http://django-appconf.readthedocs.org/
Author: Jannis Leidel
@@ -9,9 +9,13 @@
Description: django-appconf
==============
- .. image::
https://secure.travis-ci.org/jezdez/django-appconf.png?branch=develop
+ .. image::
http://codecov.io/github/django-compressor/django-appconf/coverage.svg?branch=develop
+ :alt: Code Coverage
+ :target:
http://codecov.io/github/django-compressor/django-appconf?branch=develop
+
+ .. image::
https://secure.travis-ci.org/django-compressor/django-appconf.png?branch=develop
:alt: Build Status
- :target: http://travis-ci.org/jezdez/django-appconf
+ :target: http://travis-ci.org/django-compressor/django-appconf
A helper class for handling configuration defaults of packaged Django
apps gracefully.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/README.rst
new/django-appconf-1.0.2/README.rst
--- old/django-appconf-1.0.1/README.rst 2015-02-15 14:20:37.000000000 +0100
+++ new/django-appconf-1.0.2/README.rst 2016-04-19 21:20:40.000000000 +0200
@@ -1,9 +1,13 @@
django-appconf
==============
-.. image::
https://secure.travis-ci.org/jezdez/django-appconf.png?branch=develop
+.. image::
http://codecov.io/github/django-compressor/django-appconf/coverage.svg?branch=develop
+ :alt: Code Coverage
+ :target:
http://codecov.io/github/django-compressor/django-appconf?branch=develop
+
+.. image::
https://secure.travis-ci.org/django-compressor/django-appconf.png?branch=develop
:alt: Build Status
- :target: http://travis-ci.org/jezdez/django-appconf
+ :target: http://travis-ci.org/django-compressor/django-appconf
A helper class for handling configuration defaults of packaged Django
apps gracefully.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/appconf/__init__.py
new/django-appconf-1.0.2/appconf/__init__.py
--- old/django-appconf-1.0.1/appconf/__init__.py 2015-02-15
14:31:55.000000000 +0100
+++ new/django-appconf-1.0.2/appconf/__init__.py 2016-04-19
21:20:40.000000000 +0200
@@ -1,4 +1,4 @@
from __future__ import absolute_import
from .base import AppConf # noqa
-__version__ = "1.0.1"
+__version__ = "1.0.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/appconf/base.py
new/django-appconf-1.0.2/appconf/base.py
--- old/django-appconf-1.0.1/appconf/base.py 2015-02-15 14:20:45.000000000
+0100
+++ new/django-appconf-1.0.2/appconf/base.py 2016-04-19 21:20:40.000000000
+0200
@@ -1,8 +1,7 @@
import sys
-import six
-
from django.core.exceptions import ImproperlyConfigured
+from django.utils import six
from .utils import import_attribute
@@ -123,11 +122,6 @@
def configured_data(self):
return self._meta.configured_data
- # For Python < 2.6:
- @property
- def __members__(self):
- return self.__dir__()
-
def __getattr__(self, name):
if self._meta.proxy:
return getattr(self._meta.holder, name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-appconf-1.0.1/django_appconf.egg-info/PKG-INFO
new/django-appconf-1.0.2/django_appconf.egg-info/PKG-INFO
--- old/django-appconf-1.0.1/django_appconf.egg-info/PKG-INFO 2015-02-15
14:32:19.000000000 +0100
+++ new/django-appconf-1.0.2/django_appconf.egg-info/PKG-INFO 2016-04-19
21:20:48.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: django-appconf
-Version: 1.0.1
+Version: 1.0.2
Summary: A helper class for handling configuration defaults of packaged apps
gracefully.
Home-page: http://django-appconf.readthedocs.org/
Author: Jannis Leidel
@@ -9,9 +9,13 @@
Description: django-appconf
==============
- .. image::
https://secure.travis-ci.org/jezdez/django-appconf.png?branch=develop
+ .. image::
http://codecov.io/github/django-compressor/django-appconf/coverage.svg?branch=develop
+ :alt: Code Coverage
+ :target:
http://codecov.io/github/django-compressor/django-appconf?branch=develop
+
+ .. image::
https://secure.travis-ci.org/django-compressor/django-appconf.png?branch=develop
:alt: Build Status
- :target: http://travis-ci.org/jezdez/django-appconf
+ :target: http://travis-ci.org/django-compressor/django-appconf
A helper class for handling configuration defaults of packaged Django
apps gracefully.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-appconf-1.0.1/django_appconf.egg-info/SOURCES.txt
new/django-appconf-1.0.2/django_appconf.egg-info/SOURCES.txt
--- old/django-appconf-1.0.1/django_appconf.egg-info/SOURCES.txt
2015-02-15 14:32:20.000000000 +0100
+++ new/django-appconf-1.0.2/django_appconf.egg-info/SOURCES.txt
2016-04-19 21:20:59.000000000 +0200
@@ -1,21 +1,15 @@
-.coveragerc
-.gitignore
-.travis.yml
AUTHORS
LICENSE
MANIFEST.in
README.rst
setup.cfg
setup.py
-tox.ini
appconf/__init__.py
appconf/base.py
appconf/utils.py
django_appconf.egg-info/PKG-INFO
django_appconf.egg-info/SOURCES.txt
django_appconf.egg-info/dependency_links.txt
-django_appconf.egg-info/pbr.json
-django_appconf.egg-info/requires.txt
django_appconf.egg-info/top_level.txt
docs/Makefile
docs/changelog.rst
@@ -23,9 +17,4 @@
docs/index.rst
docs/make.bat
docs/reference.rst
-docs/usage.rst
-tests/__init__.py
-tests/models.py
-tests/settings.py
-tests/test_settings.py
-tests/tests.py
\ No newline at end of file
+docs/usage.rst
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-appconf-1.0.1/django_appconf.egg-info/pbr.json
new/django-appconf-1.0.2/django_appconf.egg-info/pbr.json
--- old/django-appconf-1.0.1/django_appconf.egg-info/pbr.json 2015-02-15
14:32:19.000000000 +0100
+++ new/django-appconf-1.0.2/django_appconf.egg-info/pbr.json 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-{"is_release": true, "git_version": "75c8ca4"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-appconf-1.0.1/django_appconf.egg-info/requires.txt
new/django-appconf-1.0.2/django_appconf.egg-info/requires.txt
--- old/django-appconf-1.0.1/django_appconf.egg-info/requires.txt
2015-02-15 14:32:19.000000000 +0100
+++ new/django-appconf-1.0.2/django_appconf.egg-info/requires.txt
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-six
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/docs/changelog.rst
new/django-appconf-1.0.2/docs/changelog.rst
--- old/django-appconf-1.0.1/docs/changelog.rst 2015-02-15 14:20:37.000000000
+0100
+++ new/django-appconf-1.0.2/docs/changelog.rst 2016-04-19 21:20:40.000000000
+0200
@@ -1,6 +1,15 @@
Changelog
=========
+1.0.2 (2016-04-19)
+------------------
+
+* Minor fixes to test setup
+
+* Update supported Django and Python versions, in line with Django's
+ own supported versions.
+
+
1.0 (2015-02-15)
----------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/setup.py
new/django-appconf-1.0.2/setup.py
--- old/django-appconf-1.0.1/setup.py 2015-02-15 14:20:37.000000000 +0100
+++ new/django-appconf-1.0.2/setup.py 2016-04-19 21:20:40.000000000 +0200
@@ -29,7 +29,7 @@
license='BSD',
url='http://django-appconf.readthedocs.org/',
packages=['appconf'],
- install_requires=['six'],
+ install_requires=[],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/tests/models.py
new/django-appconf-1.0.2/tests/models.py
--- old/django-appconf-1.0.1/tests/models.py 2015-02-15 14:20:37.000000000
+0100
+++ new/django-appconf-1.0.2/tests/models.py 1970-01-01 01:00:00.000000000
+0100
@@ -1,66 +0,0 @@
-from appconf import AppConf
-
-
-class CustomHolder(object):
- HOLDER_VALUE = True
-
-custom_holder = CustomHolder()
-
-
-class TestConf(AppConf):
-
- SIMPLE_VALUE = True
-
- CONFIGURED_VALUE = 'wrong'
-
- def configure_configured_value(self, value):
- return 'correct'
-
- def configure(self):
- self.configured_data['CONFIGURE_METHOD_VALUE'] = True
- return self.configured_data
-
-
-class PrefixConf(TestConf):
-
- class Meta:
- prefix = 'prefix'
-
-
-class YetAnotherPrefixConf(PrefixConf):
-
- SIMPLE_VALUE = False
-
- class Meta:
- prefix = 'yetanother_prefix'
-
-
-class SeparateConf(AppConf):
-
- SEPARATE_VALUE = True
-
- class Meta(PrefixConf.Meta):
- pass
-
-
-class SubclassConf(TestConf):
-
- def configure(self):
- self.configured_data['CONFIGURE_METHOD_VALUE2'] = False
- return self.configured_data
-
-
-class ProxyConf(TestConf):
-
- class Meta:
- proxy = True
-
-
-class CustomHolderConf(AppConf):
-
- SIMPLE_VALUE = True
-
- class Meta:
- # instead of django.conf.settings
- holder = 'tests.models.custom_holder'
- prefix = 'custom_holder'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/tests/settings.py
new/django-appconf-1.0.2/tests/settings.py
--- old/django-appconf-1.0.1/tests/settings.py 2015-02-15 14:20:37.000000000
+0100
+++ new/django-appconf-1.0.2/tests/settings.py 1970-01-01 01:00:00.000000000
+0100
@@ -1,3 +0,0 @@
-SIMPLE_VALUE = True
-
-CONFIGURED_VALUE = 'wrong'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/tests/test_settings.py
new/django-appconf-1.0.2/tests/test_settings.py
--- old/django-appconf-1.0.1/tests/test_settings.py 2015-02-15
14:20:37.000000000 +0100
+++ new/django-appconf-1.0.2/tests/test_settings.py 1970-01-01
01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-import django
-
-SITE_ID = 1
-
-DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.sqlite3',
- 'NAME': ':memory:',
- }
-}
-
-INSTALLED_APPS = [
- 'django.contrib.contenttypes',
- 'django.contrib.sites',
- 'django.contrib.auth',
- 'django.contrib.admin',
- 'tests',
-]
-
-if django.VERSION[:2] < (1, 6):
- TEST_RUNNER = 'discover_runner.DiscoverRunner'
-
-SECRET_KEY = 'local'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/tests/tests.py
new/django-appconf-1.0.2/tests/tests.py
--- old/django-appconf-1.0.1/tests/tests.py 2015-02-15 14:20:37.000000000
+0100
+++ new/django-appconf-1.0.2/tests/tests.py 1970-01-01 01:00:00.000000000
+0100
@@ -1,146 +0,0 @@
-from __future__ import absolute_import
-from django.conf import settings
-from django.core.exceptions import ImproperlyConfigured
-from django.test import TestCase
-
-from .models import (AppConf, TestConf, PrefixConf,
- YetAnotherPrefixConf, SeparateConf,
- ProxyConf, CustomHolderConf, custom_holder)
-
-
-class TestConfTests(TestCase):
-
- def test_basic(self):
- self.assertEqual(TestConf._meta.prefix, 'tests')
-
- def test_simple(self):
- self.assertTrue(hasattr(settings, 'TESTS_SIMPLE_VALUE'))
- self.assertEqual(settings.TESTS_SIMPLE_VALUE, True)
-
- def test_configured(self):
- self.assertTrue(hasattr(settings, 'TESTS_CONFIGURED_VALUE'))
- self.assertEqual(settings.TESTS_CONFIGURED_VALUE, 'correct')
-
- def test_configure_method(self):
- self.assertTrue(hasattr(settings, 'TESTS_CONFIGURE_METHOD_VALUE'))
- self.assertEqual(settings.TESTS_CONFIGURE_METHOD_VALUE, True)
-
- def test_init_kwargs(self):
- custom_conf = TestConf(CUSTOM_VALUE='custom')
- self.assertEqual(custom_conf.CUSTOM_VALUE, 'custom')
- self.assertEqual(settings.TESTS_CUSTOM_VALUE, 'custom')
- self.assertRaises(AttributeError,
- lambda: custom_conf.TESTS_CUSTOM_VALUE)
- custom_conf.CUSTOM_VALUE_SETATTR = 'custom'
- self.assertEqual(settings.TESTS_CUSTOM_VALUE_SETATTR, 'custom')
- custom_conf.custom_value_lowercase = 'custom'
- self.assertRaises(AttributeError,
- lambda: settings.custom_value_lowercase)
-
- def test_init_kwargs_with_prefix(self):
- custom_conf = TestConf(TESTS_CUSTOM_VALUE2='custom2')
- self.assertEqual(custom_conf.TESTS_CUSTOM_VALUE2, 'custom2')
- self.assertEqual(settings.TESTS_CUSTOM_VALUE2, 'custom2')
-
- def test_proxy(self):
- custom_conf = ProxyConf(CUSTOM_VALUE3='custom3')
- self.assertEqual(custom_conf.CUSTOM_VALUE3, 'custom3')
- self.assertEqual(settings.TESTS_CUSTOM_VALUE3, 'custom3')
- self.assertEqual(custom_conf.TESTS_CUSTOM_VALUE3, 'custom3')
- self.assertTrue('tests' in custom_conf.INSTALLED_APPS)
-
- def test_dir_members(self):
- custom_conf = TestConf()
- self.assertTrue('TESTS_SIMPLE_VALUE' in dir(settings))
- if hasattr(settings, '__members__'): # django 1.5 removed __members__
- self.assertTrue('TESTS_SIMPLE_VALUE' in settings.__members__)
- self.assertTrue('SIMPLE_VALUE' in dir(custom_conf))
- self.assertTrue('SIMPLE_VALUE' in custom_conf.__members__)
- self.assertFalse('TESTS_SIMPLE_VALUE' in dir(custom_conf))
- self.assertFalse('TESTS_SIMPLE_VALUE' in custom_conf.__members__)
-
- def test_custom_holder(self):
- CustomHolderConf()
- self.assertTrue(hasattr(custom_holder, 'CUSTOM_HOLDER_SIMPLE_VALUE'))
- self.assertEqual(custom_holder.CUSTOM_HOLDER_SIMPLE_VALUE, True)
-
- def test_subclass_configured_data(self):
- self.assertTrue('TESTS_CONFIGURE_METHOD_VALUE2' in dir(settings))
- self.assertEqual(settings.TESTS_CONFIGURE_METHOD_VALUE2, False)
-
-
-class PrefixConfTests(TestCase):
-
- def test_prefix(self):
- self.assertEqual(PrefixConf._meta.prefix, 'prefix')
-
- def test_simple(self):
- self.assertTrue(hasattr(settings, 'PREFIX_SIMPLE_VALUE'))
- self.assertEqual(settings.PREFIX_SIMPLE_VALUE, True)
-
- def test_configured(self):
- self.assertTrue(hasattr(settings, 'PREFIX_CONFIGURED_VALUE'))
- self.assertEqual(settings.PREFIX_CONFIGURED_VALUE, 'correct')
-
- def test_configure_method(self):
- self.assertTrue(hasattr(settings, 'PREFIX_CONFIGURE_METHOD_VALUE'))
- self.assertEqual(settings.PREFIX_CONFIGURE_METHOD_VALUE, True)
-
-
-class YetAnotherPrefixConfTests(TestCase):
-
- def test_prefix(self):
- self.assertEqual(YetAnotherPrefixConf._meta.prefix,
- 'yetanother_prefix')
-
- def test_simple(self):
- self.assertTrue(hasattr(settings,
- 'YETANOTHER_PREFIX_SIMPLE_VALUE'))
- self.assertEqual(settings.YETANOTHER_PREFIX_SIMPLE_VALUE, False)
-
- def test_configured(self):
- self.assertTrue(hasattr(settings,
- 'YETANOTHER_PREFIX_CONFIGURED_VALUE'))
- self.assertEqual(settings.YETANOTHER_PREFIX_CONFIGURED_VALUE,
- 'correct')
-
- def test_configure_method(self):
- self.assertTrue(hasattr(settings,
- 'YETANOTHER_PREFIX_CONFIGURE_METHOD_VALUE'))
- self.assertEqual(settings.YETANOTHER_PREFIX_CONFIGURE_METHOD_VALUE,
- True)
-
-
-class SeparateConfTests(TestCase):
-
- def test_prefix(self):
- self.assertEqual(SeparateConf._meta.prefix, 'prefix')
-
- def test_simple(self):
- self.assertTrue(hasattr(settings, 'PREFIX_SEPARATE_VALUE'))
- self.assertEqual(settings.PREFIX_SEPARATE_VALUE, True)
-
-
-class RequiredSettingsTests(TestCase):
-
- def create_invalid_conf(self):
- class RequirementConf(AppConf):
- class Meta:
- required = ['NOT_PRESENT']
-
- def test_value_is_defined(self):
- class RequirementConf(AppConf):
- class Meta:
- holder = 'tests.models.custom_holder'
- prefix = 'holder'
- required = ['VALUE']
-
- def test_default_is_defined(self):
- class RequirementConf(AppConf):
- SIMPLE_VALUE = True
-
- class Meta:
- required = ['SIMPLE_VALUE']
-
- def test_missing(self):
- self.assertRaises(ImproperlyConfigured, self.create_invalid_conf)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-appconf-1.0.1/tox.ini
new/django-appconf-1.0.2/tox.ini
--- old/django-appconf-1.0.1/tox.ini 2015-02-15 14:20:37.000000000 +0100
+++ new/django-appconf-1.0.2/tox.ini 1970-01-01 01:00:00.000000000 +0100
@@ -1,50 +0,0 @@
-[tox]
-skipsdist = True
-usedevelop = True
-minversion = 1.8
-envlist =
- flake8-py27,
- flake8-py33,
- py{26,27}-dj14,
- py{26,27,32,33}-dj{15,16},
- py{27,32,33,34}-dj{17,18,19},
-
-[testenv]
-basepython =
- py26: python2.6
- py27: python2.7
- py32: python3.2
- py33: python3.3
- py34: python3.4
- pypy: pypy
-usedevelop = true
-setenv =
- PYTHONPATH = {toxinidir}
- DJANGO_SETTINGS_MODULE=tests.test_settings
-deps =
- flake8
- coverage
- django-discover-runner
- dj13: https://github.com/django/django/archive/stable/1.3.x.zip#egg=django
- dj14: https://github.com/django/django/archive/stable/1.4.x.zip#egg=django
- dj15: https://github.com/django/django/archive/stable/1.5.x.zip#egg=django
- dj16: https://github.com/django/django/archive/stable/1.6.x.zip#egg=django
- dj17: https://github.com/django/django/archive/stable/1.7.x.zip#egg=django
- dj18: https://github.com/django/django/archive/stable/1.8.x.zip#egg=django
- dj19: https://github.com/django/django/archive/master.zip#egg=django
-
-commands =
- coverage run {envbindir}/django-admin.py test -v2 {posargs:tests}
- coverage report
-
-[testenv:flake8-py27]
-commands = flake8 appconf
-deps = flake8
-
-[testenv:flake8-py33]
-commands = flake8 appconf
-deps = flake8
-
-[flake8]
-exclude = .tox
-ignore = E501