Remove test_defaults_global

This commit is contained in:
Brad Warren 2016-06-13 17:29:56 -07:00
parent 8c174f38b5
commit 4c68792dd3

View file

@ -490,12 +490,6 @@ class CLITest(unittest.TestCase): # pylint: disable=too-many-public-methods
conflicts += ['--staging']
self._check_server_conflict_message(short_args, conflicts)
def test_defaults_global(self):
namespace = self._get_argument_parser()([])
namespace.webroot_map['example.com'] = '/var/www/html'
self.assertTrue(cli.DEFAULTS != namespace.webroot_map)
def _certonly_new_request_common(self, mock_client, args=None):
with mock.patch('certbot.main._treat_as_renewal') as mock_renewal:
mock_renewal.return_value = ("newcert", None)