Commit Graph
2099 Commits
Author SHA1 Message Date
Seth Schoen c5a44f3e39 Removing magic constants 2015-05-14 12:12:16 -07:00
Seth Schoen 56b71e3b32 Replacing magic constant 2015-05-14 12:07:39 -07:00
Seth Schoen d443fd9074 Explicit "is not None" 2015-05-14 12:06:21 -07:00
Seth Schoen fc81f18864 Clarify that these test files never exist 2015-05-14 11:53:48 -07:00
Seth Schoen 995759abad pragma: no cover for test main function 2015-05-14 11:49:38 -07:00
Seth Schoen 93953604a2 Don't redefine ALL_FOUR 2015-05-14 11:48:30 -07:00
Seth Schoen 35308bfc7d Unify implementation of notbefore and notafter 2015-05-14 11:45:40 -07:00
Seth Schoen af767f917b Unit tests for notify.py and get_sans_from_cert 2015-05-13 22:35:00 -07:00
Seth Schoen 0a62bd6ebe Reorganize and shorten some renewer tests 2015-05-13 14:29:19 -07:00
Seth Schoen 2c6cfe3f81 Cleanup to get rid of scripts directory 2015-05-13 13:18:37 -07:00
Seth Schoen 6f6ee897f8 Changes to fix problems after reorganization 2015-05-13 12:37:04 -07:00
Seth Schoen 5d22925108 Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer 2015-05-13 12:11:04 -07:00
Seth Schoen 82a4c61eff Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into renewer
Conflicts:
	letsencrypt/client.py
2015-05-13 12:10:36 -07:00
James Kasten c57443812b Merge pull request #409 from kuba/pkgs_sep_prep
Fix references to letsencrypt.client
2015-05-13 11:59:50 -07:00
Jakub Warmuz e06c0cbbf7 Revert "Bump coverage"
This reverts commit da53813770.
2015-05-12 22:09:45 +00:00
Jakub Warmuz 787c64c546 Fix references to letsencrypt.client 2015-05-12 22:08:00 +00:00
Jakub Warmuz 514d319662 Use debian:jessie as docker base image
le                  latest              e1f2e8ce3a0e        14 minutes ago      780.2 MB
vs
  le                  latest              d3276dd3976c        About a minute ago   393.6 MB

where:
  buildpack-deps      jessie              ecff3a5a9760        12 days ago          677.4 MB
  debian              jessie              41b730702607        13 days ago          125.1 MB
2015-05-12 22:01:20 +00:00
Jakub Warmuz 125ba6449e Dockerfile: copy dep modules dirs 2015-05-12 21:35:43 +00:00
Jakub Warmuz aeef964fb6 Merge remote-tracking branch 'github/letsencrypt/master' into get_sans 2015-05-12 21:27:10 +00:00
Jakub Warmuz da53813770 Bump coverage 2015-05-12 21:18:45 +00:00
Jakub Warmuz ac9f97100c Merge remote-tracking branch 'github/letsencrypt/master' into test-mode
Conflicts:
	letsencrypt/tests/configuration_test.py
	letsencrypt/tests/network2_test.py
2015-05-12 21:16:56 +00:00
Jakub Warmuz 38d2f8613d Merge remote-tracking branch 'github/letsencrypt/master' into docker 2015-05-12 21:07:22 +00:00
Jakub Warmuz bb94952830 Merge remote-tracking branch 'github/letsencrypt/master' into test-dirs-chmods
Conflicts:
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/foo.conf
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/nginx.conf
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/nginx.new.conf
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/server.conf
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/sites-enabled/default
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/sites-enabled/example.com
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/fastcgi_params
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/koi-utf
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/koi-win
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/mime.types
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi-ui.conf.1.4.1
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi.rules
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi_core.rules
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/nginx.conf
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/proxy_params
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/scgi_params
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/sites-available/default
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/sites-enabled/default
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/uwsgi_params
	letsencrypt/client/plugins/nginx/tests/testdata/etc_nginx/ubuntu_nginx_1_4_6/default_vhost/nginx/win-utf
	letsencrypt/client/plugins/nginx/tests/testdata/foo.conf
	letsencrypt/client/plugins/nginx/tests/testdata/nginx.conf
	letsencrypt/client/plugins/nginx/tests/testdata/nginx.new.conf
	letsencrypt/client/plugins/nginx/tests/testdata/server.conf
	letsencrypt/client/plugins/nginx/tests/testdata/sites-enabled/default
	letsencrypt/client/plugins/nginx/tests/testdata/sites-enabled/example.com
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/fastcgi_params
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/koi-utf
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/koi-win
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/mime.types
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi-ui.conf.1.4.1
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi.rules
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi_core.rules
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/nginx.conf
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/proxy_params
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/scgi_params
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/sites-available/default
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/sites-enabled/default
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/uwsgi_params
	letsencrypt/client/plugins/nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/win-utf
	letsencrypt_apache/tests/util.py
	letsencrypt_nginx/tests/testdata/foo.conf
	letsencrypt_nginx/tests/testdata/nginx.conf
	letsencrypt_nginx/tests/testdata/nginx.new.conf
	letsencrypt_nginx/tests/testdata/server.conf
	letsencrypt_nginx/tests/testdata/sites-enabled/default
	letsencrypt_nginx/tests/testdata/sites-enabled/example.com
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/fastcgi_params
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/koi-utf
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/koi-win
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/mime.types
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi-ui.conf.1.4.1
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi.rules
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/naxsi_core.rules
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/nginx.conf
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/proxy_params
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/scgi_params
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/sites-available/default
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/sites-enabled/default
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/uwsgi_params
	letsencrypt_nginx/tests/testdata/ubuntu_nginx_1_4_6/default_vhost/nginx/win-utf
	letsencrypt_nginx/tests/util.py
2015-05-12 21:06:17 +00:00
James Kasten d6e554b1fd Merge pull request #401 from kuba/pkgs_sep_prep
Repo reorganisation
2015-05-12 13:41:27 -07:00
Jakub Warmuz cf9a4b6012 Remove unused import 2015-05-12 20:15:10 +00:00
Jakub Warmuz 55b619853b Merge remote-tracking branch 'github/letsencrypt/master' into pkgs_sep_prep
Conflicts:
	letsencrypt/continuity_auth.py
	letsencrypt_nginx/configurator.py
	letsencrypt_nginx/dvsni.py
	letsencrypt_nginx/tests/configurator_test.py
	letsencrypt_nginx/tests/dvsni_test.py
2015-05-12 20:13:50 +00:00
James Kasten eb2f019144 Merge pull request #405 from diracdeltas/doc/nginx-dvsni
Update docs to reflect nginx support
2015-05-12 12:27:28 -07:00
yan f4144f0017 Update docs to reflect nginx support 2015-05-12 12:05:17 -07:00
Seth Schoen 587c81ebb4 Merge remote-tracking branch 'origin' into renewer 2015-05-12 11:30:01 -07:00
James Kasten aed3c7f877 Merge pull request #396 from bradmw/master
Minimal Proof of Possession Challenge
2015-05-12 10:44:17 -07:00
Brad Warren 27511d4822 Added no cover line to unittest.main() 2015-05-12 12:42:59 -04:00
Brad Warren de974ca51b Merge remote-tracking branch 'upstream/master' 2015-05-12 11:57:17 -04:00
Brad Warren a496179f74 Incorporated feedback and added extra error checking to POP 2015-05-12 11:56:26 -04:00
Seth Schoen b3029a5436 Merge remote-tracking branch 'origin' into renewer 2015-05-11 20:54:26 -07:00
James Kasten 8229c72b9c Merge pull request #387 from diracdeltas/feature/nginx-dvsni
dvsni support for nginx
2015-05-11 20:21:20 -07:00
Seth Schoen 5a85e1e46e Changes to satisfy pylint 2015-05-11 15:02:02 -07:00
Seth Schoen db93b7b3c6 Complete test coverage for renewer.py/storage.py 2015-05-11 13:50:07 -07:00
Seth Schoen 38cdd422d2 Improve test coverage 2015-05-11 12:00:54 -07:00
Seth Schoen 6f56dc1418 Again require RenewableCert to be given a ConfigObj 2015-05-11 11:49:20 -07:00
Seth Schoen 06a3f54c92 Updated target for @mock.patch in new storage.py 2015-05-11 11:38:50 -07:00
Seth Schoen 2fb684d784 Fix some existing tests 2015-05-11 11:20:53 -07:00
Seth Schoen 3fe8f4ce03 Merge remote-tracking branch 'origin/master' into renewer 2015-05-10 22:46:16 -07:00
Seth Schoen 1e39b72ab7 Updating TODO items 2015-05-10 22:45:35 -07:00
Seth Schoen b235dc4c80 Work in progress: make renewer renew 2015-05-10 22:43:58 -07:00
James Kasten 65cda7efbd Merge pull request #403 from kuba/bugs/402
Cover tests (fixes #402).
2015-05-10 13:25:59 -07:00
Jakub Warmuz c7aff67132 Merge branch 'bugs/402' into pkgs_sep_prep 2015-05-10 19:18:27 +00:00
Jakub Warmuz 53fbedda53 100% acme coverage 2015-05-10 19:16:31 +00:00
Jakub Warmuz b4c747a283 Merge branch 'bugs/402' into pkgs_sep_prep
Conflicts:
	letsencrypt/tests/client_test.py
	tox.ini
2015-05-10 17:56:41 +00:00
Jakub Warmuz 99b2003e61 Cover tests (fixes #402).
1. --cover-tests, to make sure every test is run, helped to find
   broken determine_account tests
2. fix determine_account test
3. unittest.main()  # pragma: no cover
4. bump coverage

coveralls.io always reported higher coverage, because it also looked
at test files.
2015-05-10 17:38:26 +00:00
Jakub Warmuz 5fbc5cee2e Add tox.cover.sh for proper coveralls experience. 2015-05-10 16:53:22 +00:00