1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-27 19:42:53 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
Amjad Mashaal
1e27e43c14 Expanding tests for le-auto, adding CentOS test suite (#2671)
* Adding Dockerfile for CentOS 6

* Adding CentOS 7 to LEA tests

* Enabling CentOS 6 LEA test

* Removing CentOS 7

* Fixing nits

* Using yum to install epel-release
2016-11-10 15:05:03 -08:00
Peter Eckersley
731f9a2dee Merge pull request #2926 from TheNavigat/auto_test_fix
Fixing auto_test.py for Python 2.6
2016-05-27 14:39:44 -07:00
Noah Swartz
22badb2380 tests pass? 2016-05-19 17:29:39 -07:00
Noah Swartz
0bb8b0bcd5 change invocation 2016-05-19 12:27:17 -07:00
Noah Swartz
409640fb87 le to cb for test package 2016-05-19 12:05:42 -07:00
Noah Swartz
e8e009cc85 Revert "update secret pypi?"
This reverts commit 55755d818a.
2016-05-18 17:00:42 -07:00
Noah Swartz
55755d818a update secret pypi? 2016-05-18 15:42:55 -07:00
Noah Swartz
01ebab26bf update pypi for auto 2016-05-18 14:21:57 -07:00
Amjad Mashaal
d57c943471 Fixing broken tests 2016-05-18 01:57:48 +02:00
Amjad Mashaal
12a0312282 Fixing auto_test.py for Python 2.6 2016-05-18 01:57:48 +02:00
Brad Warren
45681909c7 Selectively rename le-auto strings 2016-04-20 14:39:26 -04:00
Brad Warren
99382b9f5b Merge branch 'pip8' 2016-03-08 15:49:52 -08:00
Erik Rose
d791697b93 If le-auto's installation fails, delete the venv. Fix #2332.
Leaving broken venvs around can, if it got as far as installing the venv/bin/letsencrypt script, wreck future le-auto runs, since the presence of that script means "a working LE is installed" to it. Waiting until a new version of le-auto comes out and running it would recover, but this lets re-running the same version recover as well.
2016-02-11 17:17:09 -05:00
Erik Rose
b20eab67ce Remove errant DS_Store. Ick. 2016-01-19 16:10:39 -05:00
Erik Rose
d8130974c7 Upgrade half-sign to sha256. Bring back old le-auto temporarily. Improve le-auto's option parsing.
If the new le-auto works well in the minutes or hours after release, we'll make another commit to master that removes the old le-auto and bootstrap scripts.

Close https://github.com/erikrose/letsencrypt/pull/2.
2016-01-13 13:12:34 -05:00
Erik Rose
86266f5fe1 Remove backported Python 2.7 assertion helpers.
I didn't backport their imports, so they had NameErrors in the failure case anyway. And, because of the docker image, these tests currently are run under only 2.7 at the moment.
2016-01-13 12:50:12 -05:00
Brad Warren
ab07620504 Fixed fake letsencrypt hash 2016-01-13 09:30:54 -08:00
Brad Warren
7945db7a2d Rebuild sdist 2016-01-13 09:30:54 -08:00
Brad Warren
e192cce1fc Fix fake letsencrypt 2016-01-13 09:30:54 -08:00
Erik Rose
6c05197a43 Remove mock as an install requirement.
The motivation is to free us of a reliance on a rather modern version of setuptools, which caused le-auto failures for people on Wheezy and other older distros. (The alternative would have been to forcibly upgrade setuptools as the old le-auto did, but less is more.)

Mock is used only in tests, so we move it to tests_require. It will still be installed automatically when setup.py test is run. Give all packages a test_suite so this works.

The "testing" extra remains for optional packages not required for the nose tests but used in tox. However, the extra is much less useful now and is a candidate for deletion. We could roll the list of packages therein into the tox config so as not to favor any particular package.

Remove tests_require=install_requires, which I don't think does anything useful, since install requirements are implicitly installed when running setup.py test.

Fix tests to pass with mock removed. We had to stop them pulling down LE from PyPI, since the current version there (0.1.1) requires mock and explodes when `letsencrypt` is run.
2016-01-11 21:26:41 -05:00
Erik Rose
5512838377 Get le-auto tests running on Travis. 2016-01-08 17:39:51 -05:00
Erik Rose
cd43e9035b Rename letsencrypt_auto dir to match other dirs.
Originally, I had it in mind to move letsencrypt-auto inside this dir. However, now we'd like to copy it or link it to the root level, where people are used to finding it (at least for awhile). Since it would be confusing to have a letsencrypt-auto and a letsencrypt_auto right next to each other, we rename this folder.
2016-01-08 16:26:25 -05:00