Commit graph

89 commits

Author SHA1 Message Date
Peter Eckersley
d8a32eeeb5 Chase all the mock threads all over the place 2015-11-13 17:38:55 -08:00
Peter Eckersley
2433de8cba Attempt to update revoke() cases [not yet working] 2015-11-13 12:48:44 -08:00
Brad Warren
eea9aa752a Tests for the 'revoke' verb 2015-11-13 10:06:49 -08:00
Peter Eckersley
e8cf095ef3 Fix merge glitch
(somehow this was lost from the previous commit)
2015-11-13 09:56:50 -08:00
Peter Eckersley
a45de558de Merge remote-tracking branch 'origin/master' into useragent 2015-11-13 01:39:27 -08:00
Peter Eckersley
4cfd22e31f Merge pull request #1479 from joohoi/domains_flag
Possibility to use comma separated list of domains in config files and cli
2015-11-13 01:22:35 -08:00
Peter Eckersley
765f601d41 Merge pull request #1477 from joohoi/fix_1454_tests
Fix test broken by #1454 if nginx installation not present in system
2015-11-13 00:35:31 -08:00
Peter Eckersley
3687197db8 Move user agent selection into client.py
Along the way refactoring revocation and recording of chosen plugins.
2015-11-12 19:52:32 -08:00
Brad Warren
1dd1523680 Added cert, key, chain, and fullchain abspath tests 2015-11-12 17:47:36 -08:00
Brad Warren
707df3d2c6 Add read_file tests 2015-11-12 17:27:56 -08:00
Brad Warren
a31be6d567 Added plugin_cmd tests 2015-11-12 15:04:41 -08:00
Joona Hoikkala
37e94e631d Added tests 2015-11-12 17:25:38 +02:00
Joona Hoikkala
56f21e1d35 Refactor --domain flag back to -- domains 2015-11-12 16:53:40 +02:00
Joona Hoikkala
a0129f7818 Fix test broken by #1454 if nginx installation not present in system 2015-11-12 15:02:30 +02:00
Peter Eckersley
8b9a271900 "Really" finalise User Agent tests
- Add an extra test for the default UA string
 - Fixes: get_os_info() is returning a tuple, not a string
 - Workaround: Argument preprocessing is dangerous for test cases
2015-11-10 16:50:58 -08:00
Peter Eckersley
a4885e491a Finish user agent changes:
- revert changes to acme/, instead living with its current baroque API
 - add an extremely mockable test case
2015-11-10 16:50:57 -08:00
Joona Hoikkala
3074ef996a Refactored the argument and the code to use --domain instead of --domains, which was semantically incorrect 2015-11-10 12:29:08 +02:00
Joona Hoikkala
b35ebafe16 Fixed last half-assed commit to tests 2015-11-08 20:49:44 +02:00
Joona Hoikkala
57726e6384 Use python2.6 compatible test assertions 2015-11-08 20:42:24 +02:00
Joona Hoikkala
2ac7a2a9ea Check configuration sanity for domain flag 2015-11-08 20:23:01 +02:00
Brad Warren
d8f27118f8 Merge branch 'verb-arguments' 2015-11-02 17:36:45 -08:00
Peter Eckersley
21bfe5b983 Remove stray variable 2015-11-01 22:48:58 -08:00
Peter Eckersley
a5e815008e Factor out all the stdout wrangling from help tests 2015-10-30 15:22:05 -07:00
Peter Eckersley
f00280f71a Testiness 2015-10-30 15:12:54 -07:00
Brad Warren
4e62a4bfe2 fixes #1227 2015-10-30 13:54:46 -07:00
Peter Eckersley
28071a3e72 Fix stray ref 2015-10-28 19:19:06 -07:00
Peter Eckersley
8476efe86b Inversion: make certonly the real verb, and "auth" an alias for it 2015-10-28 19:19:06 -07:00
Peter Eckersley
7e717a7a15 lint 2015-10-28 19:19:06 -07:00
Peter Eckersley
60a0b01d59 Don't initialise plugins super early
Also extra unit testing
2015-10-28 19:19:06 -07:00
Peter Eckersley
00dcff6de9 Also slip in some extra conditional plugin cli unit tests 2015-10-28 19:19:05 -07:00
Peter Eckersley
9a6ecbe669 Test case for new verb variant 2015-10-28 19:19:05 -07:00
Brad Warren
46fe8511cd Updated MockedVerb documentation 2015-10-23 16:55:10 -07:00
Brad Warren
7b0f3b00f2 Removed subparsers 2015-10-23 16:49:38 -07:00
Brad Warren
2bedd57aa9 Merge branch 'master' into storage_paranoia 2015-10-22 13:01:20 -07:00
Peter Eckersley
cf5cb9d3ff Satisfy pylint... sort of 2015-10-21 21:16:35 -07:00
Peter Eckersley
ccfeeb9fe5 Fix test cases; along the way, have --csr save fullchain.pem 2015-10-21 21:00:30 -07:00
Jakub Warmuz
aa4641b3b0
--agree-dev-preview
`git grep -i eula` to the rescue
2015-10-20 19:33:27 +00:00
bmw
85e6f50f68 Merge pull request #1020 from letsencrypt/report_csr_expiry
Report expiration when using a CSR
2015-10-20 09:41:48 -07:00
Peter Eckersley
cb2ac71d1e Merge pull request #1001 from letsencrypt/cli
Implement --apache and --nginx; improve configurator errors
2015-10-19 20:09:47 -07:00
Peter Eckersley
363dffd8a6 Comment out a test that requires slightly doubtful infrastructure 2015-10-19 19:51:02 -07:00
Peter Eckersley
484e8ef6fe Not trying to mock out plugins just yet 2015-10-19 19:11:05 -07:00
Peter Eckersley
6e69e58402 Make more tests run regardless of local plugin state 2015-10-19 12:03:11 -07:00
Peter Eckersley
63f4f11360 Test "install --nginx" w/ misconfiguration 2015-10-18 11:05:58 -07:00
Peter Eckersley
995c1dfb83 More sphinxiness, more clarity 2015-10-18 11:05:46 -07:00
Peter Eckersley
d6345a47c5 Fix some bugs & immprove test cases 2015-10-18 02:34:24 -07:00
Brad Warren
888d553db8 Merge branch 'master' into storage_paranoia 2015-10-17 17:27:04 -07:00
Brad Warren
e2e7acf4c4 Use actual CSR path 2015-10-17 16:30:54 -07:00
Brad Warren
975ffc5103 Updated cli and cli_test 2015-10-17 14:48:24 -07:00
Peter Eckersley
a841c4fc5d More nits 2015-10-17 13:13:00 -07:00
Peter Eckersley
f0faf91b82 lint! 2015-10-16 18:34:57 -07:00