Commit Graph

253 Commits

Author SHA1 Message Date
Valentin Samir 8e5b75e090 Add some docstrings 2016-07-03 17:54:11 +02:00
Valentin Samir 7cc3ba689f Correct some code style errors and remove some forgotten debug lines 2016-07-03 14:19:39 +02:00
Valentin Samir 90daf3d2a0 Add unit tests for when CAS_FEDERATE is True
Also fix some unicode related bugs
2016-07-03 13:53:12 +02:00
Valentin Samir fcd906ca78 Tweak the cas client lib to always return unicode
hence, the behaviour is consistent between python2 and python3
2016-07-03 13:49:31 +02:00
Valentin Samir 2f1b3862ff Exclude cas_server/cas.py from coverage as it is an external lib 2016-07-02 23:24:50 +02:00
Valentin Samir 63f5b2cabf Merge branch 'master' into federate 2016-07-01 16:44:22 +02:00
Valentin Samir a1edd2f31f Use rst2html instead of setup.py check cause there is a fixed bug on ubuntu 12.04
an that this is the OS travis use. cf https://bugs.python.org/issue23063
2016-07-01 03:20:58 +02:00
Valentin Samir c2b146335f Fix somme RST errors in README.rst. Add a test in tox.ini to detect such errors 2016-07-01 02:38:36 +02:00
Valentin Samir e3ab64271b Update version to 0.5.0 2016-07-01 01:58:30 +02:00
Valentin Samir 0648c2cf7c Add six dependancy to setup.py 2016-07-01 01:56:48 +02:00
Valentin Samir eb64412612 Merge pull request #5 from nitmir/dev
Unit tests full coverage
2016-07-01 01:26:41 +02:00
Valentin Samir 95511943e8 Add a utils function to test crypt salts 2016-07-01 01:21:57 +02:00
Valentin Samir a5ed74ee56 SOme python3 compatibility 2016-07-01 00:09:51 +02:00
Valentin Samir 219171fe41 Set legals headers 2016-07-01 00:02:46 +02:00
Valentin Samir 7cbbab444f Full utils coverage 2016-07-01 00:00:33 +02:00
Valentin Samir 43b4a7ca61 Exclude tests from coverage
tests are necesserally 100% coverage so it make no sense
2016-06-30 23:59:19 +02:00
Valentin Samir c7c5151acf Tests comments and move http server handlers from cas_server.utils to cas_server.tests.utils 2016-06-30 23:13:53 +02:00
Valentin Samir 3ada10b3c5 Add tests comment and enable ajax login in ajax tests 2016-06-30 19:01:56 +02:00
Valentin Samir 2515c3a15d Disabling ajax login by default 2016-06-30 18:57:53 +02:00
Valentin Samir 638363c6f9 Pip6 cache system and codacy issues 2016-06-30 14:52:55 +02:00
Valentin Samir ecf4e66e11 Models full coverage 2016-06-30 13:56:51 +02:00
Valentin Samir 9814bb0a6f Cache tox build on travis to seed up tests 2016-06-30 01:21:58 +02:00
Valentin Samir 8ab40271bc Remove coverage from tox envlist as only travis known the API token 2016-06-30 00:37:00 +02:00
Valentin Samir 43b4ffb88a Simplify Makefile 2016-06-30 00:26:16 +02:00
Valentin Samir 22a7568498 Add coverage computation to travis 2016-06-30 00:16:45 +02:00
Valentin Samir 2fba4183a3 Codacy issues 2016-06-29 20:59:31 +02:00
Valentin Samir 3334f87601 SingleLogOut unit tests 2016-06-29 20:51:58 +02:00
Valentin Samir d4b9d66051 Cleaner BaseHTTPRequestHandler 2016-06-29 20:51:30 +02:00
Valentin Samir e5efdadde0 Full coverage for saml + split tests 2016-06-29 17:10:41 +02:00
Valentin Samir d5920ba8ce Add clean for coverage and *~ files 2016-06-29 09:05:45 +02:00
Valentin Samir 63621bd26e Use pip for make install, it allow us to easily uninstall
do not install any dependancy, as setup.py install would do
2016-06-29 08:43:11 +02:00
Valentin Samir abda112467 Begin to split tests, Makefile less phony, use py.test 2016-06-29 08:22:52 +02:00
Valentin Samir 33f53f1d25 Add docstrings to management commands 2016-06-29 00:28:59 +02:00
Valentin Samir 6972ad7536 Add some docstrings and comments 2016-06-29 00:25:09 +02:00
Valentin Samir 3e53429feb Forgotten test for proxy view 2016-06-29 00:09:11 +02:00
Valentin Samir 8edf896fa5 Remove some duplicate from tests code, full coverage for prowy view 2016-06-29 00:01:51 +02:00
Valentin Samir 97a15f749c Use override_settings in tests 2016-06-28 19:27:03 +02:00
Valentin Samir 44acd005ee Full coverage for view validateService 2016-06-28 18:58:39 +02:00
Valentin Samir 6d610d5aa6 Full coverage for validate view 2016-06-28 17:46:59 +02:00
Valentin Samir 87a877b91c Full coverage auth view 2016-06-28 17:19:48 +02:00
Valentin Samir 327a47566f Full coverage of logout view 2016-06-28 16:41:27 +02:00
Valentin Samir 166590f264 Full coverage for the login view 2016-06-28 15:59:40 +02:00
Valentin Samir a4d70d3046 Merge branch 'dev' into federate 2016-06-28 15:29:45 +02:00
Valentin Samir 16fb7b5021 Fix renew request from service 2016-06-28 15:24:50 +02:00
Valentin Samir 434dcf6e4e Correct some codacy errors 2016-06-28 00:48:48 +02:00
Valentin Samir dedc1e34a2 Fix some style error introduced during the merge 2016-06-28 00:37:18 +02:00
Valentin Samir 32b5627c38 Merge branch 'dev' into federate 2016-06-28 00:34:31 +02:00
Valentin Samir fc57288c30 Fix some python3 compat and change in test client behaviour in django 1.9 2016-06-28 00:10:36 +02:00
Valentin Samir bab79c4de5 More unit tests (essentially for the login view) and some docstrings 2016-06-27 23:55:17 +02:00
Valentin Samir 7db3157864 Forgotten return 2016-06-27 14:01:39 +02:00