mirror of
https://github.com/certbot/certbot.git
synced 2026-08-02 19:42:02 +02:00
Fix F541 and E711 (#10071)
There are a quite a lot of imports that are unused. F541 is Unnecessary f-interpolation without placeholders E711 is incorrect use of == for boolean and None comparisons ## Pull Request Checklist - [x] The Certbot team has recently expressed interest in reviewing a PR for this. If not, this PR may be closed due our limited resources and need to prioritize how we spend them. - [ ] If the change being made is to a [distributed component](https://certbot.eff.org/docs/contributing.html#code-components-and-layout), edit the `main` section of `certbot/CHANGELOG.md` to include a description of the change being made. - [ ] Add or update any documentation as needed to support the changes in this PR. - [x] Include your name in `AUTHORS.md` if you like. --------- Co-authored-by: Mads Jensen <atombrella@users.noreply.github.com>
This commit is contained in:
co-authored by
Mads Jensen
parent
087cb4d1f4
commit
3f9387bd15
@@ -51,7 +51,7 @@ class AuthenticatorTest(test_util.TempDirTestCase, dns_test_common.BaseAuthentic
|
||||
self.auth.credentials.conf = lambda key: creds.get(key, None)
|
||||
client = self.orig_get_client()
|
||||
assert client.algorithm == self.auth.ALGORITHMS["HMAC-MD5"]
|
||||
assert client.sign_query == False
|
||||
assert client.sign_query is False
|
||||
|
||||
@test_util.patch_display_util()
|
||||
def test_perform(self, unused_mock_get_utility):
|
||||
|
||||
Reference in New Issue
Block a user