remove (-auto) from certbot(-auto)

This commit is contained in:
Erica Portnoy 2021-04-27 11:53:30 -07:00
parent e9ebd14fa0
commit d118318505
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ def determine_user_agent(config):
ua = ("CertbotACMEClient/{0} ({1}; {2}{8}) Authenticator/{3} Installer/{4} "
"({5}; flags: {6}) Py/{7}")
if os.environ.get("CERTBOT_DOCS") == "1":
cli_command = "certbot(-auto)"
cli_command = "certbot"
os_info = "OS_NAME OS_VERSION"
python_version = "major.minor.patchlevel"
else:

View file

@ -47,7 +47,7 @@ class DetermineUserAgentTest(test_util.ConfigTestCase):
doc_value_check = self.assertNotIn
real_value_check = self.assertIn
doc_value_check("certbot(-auto)", ua)
doc_value_check("certbot", ua)
doc_value_check("OS_NAME OS_VERSION", ua)
doc_value_check("major.minor.patchlevel", ua)
real_value_check(util.get_os_info_ua(), ua)