Codebase list django-stronghold / 6863ffe
* Team upload. * Removed Python 2 support. * Add remove-broken-test.patch. Thomas Goirand 4 years ago
6 changed file(s) with 28 addition(s) and 20 deletion(s). Raw diff Collapse all Expand all
0 django-stronghold (0.3.0+debian-2) UNRELEASED; urgency=medium
0 django-stronghold (0.3.0+debian-2) unstable; urgency=medium
11
2 [ Ondřej Nový ]
23 * d/control: Remove ancient X-Python-Version field
34 * d/control: Remove ancient X-Python3-Version field
45
5 -- Ondřej Nový <onovy@debian.org> Mon, 01 Oct 2018 10:20:16 +0200
6 [ Thomas Goirand ]
7 * Team upload.
8 * Removed Python 2 support.
9 * Add remove-broken-test.patch.
10
11 -- Thomas Goirand <zigo@debian.org> Fri, 26 Jul 2019 15:23:46 +0200
612
713 django-stronghold (0.3.0+debian-1) unstable; urgency=medium
814
55 Build-Depends: debhelper (>= 11)
66 Build-Depends-Indep:
77 dh-python
8 , python-all
9 , python-django
10 , python-mock
11 , python-setuptools
128 , python3-all
139 , python3-django
1410 , python3-mock
1713 Homepage: http://mikegrouchy.com/django-stronghold/
1814 Vcs-Git: https://salsa.debian.org/debian/django-stronghold.git
1915 Vcs-Browser: https://salsa.debian.org/debian/django-stronghold
20
21 Package: python-django-stronghold
22 Architecture: all
23 Depends: ${misc:Depends}, ${python:Depends}
24 , python-django
25 Provides: ${python:Provides}
26 Recommends: ${python:Recommends}
27 Description: Django app to make all views default login_required
28 Stronghold is a very small and easy to use Django app that makes all
29 your Django project default to require login for all of your views.
3016
3117 Package: python3-django-stronghold
3218 Architecture: all
0 Description: Remove broken test
1 Author: Thomas Goirand <zigo@debian.org>
2 Forwarded: no
3 Last-Update: 2019-07-26
4
5 --- django-stronghold-0.3.0+debian.orig/stronghold/tests/testmiddleware.py
6 +++ django-stronghold-0.3.0+debian/stronghold/tests/testmiddleware.py
7 @@ -16,10 +16,6 @@ from django.test.client import RequestFa
8
9 class StrongholdMiddlewareTestCase(TestCase):
10
11 - def test_public_view_is_public(self):
12 - response = self.client.get(reverse('public_view'))
13 - self.assertEqual(response.status_code, 200)
14 -
15 def test_private_view_is_private(self):
16 response = self.client.get(reverse('protected_view'))
17 self.assertEqual(response.status_code, 302)
0 remove-broken-test.patch
+0
-2
debian/python-django-stronghold.docs less more
0 README.rst
1 CONTRIBUTING.md
33 export PYBUILD_NAME=django-stronghold
44
55 %:
6 dh $@ --with python2,python3 --buildsystem=pybuild
6 dh $@ --with python3 --buildsystem=pybuild
77
88 override_dh_auto_test:
9 python2 test_project/manage.py test --pythonpath=. --settings=test_project.settings stronghold.tests
109 python3 test_project/manage.py test --pythonpath=. --settings=test_project.settings stronghold.tests