Browse Source

tox fixes

Peter Bieringer 1 year ago
parent
commit
3763f28ae4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      radicale/tests/test_auth.py

+ 2 - 2
radicale/tests/test_auth.py

@@ -23,12 +23,12 @@ Radicale tests with simple requests and authentication.
 """
 """
 
 
 import base64
 import base64
+import logging
 import os
 import os
 import sys
 import sys
 from typing import Iterable, Tuple, Union
 from typing import Iterable, Tuple, Union
 
 
 import pytest
 import pytest
-import logging
 
 
 from radicale import xmlutils
 from radicale import xmlutils
 from radicale.tests import BaseTest
 from radicale.tests import BaseTest
@@ -139,7 +139,7 @@ class TestBaseAuthRequests(BaseTest):
 
 
     # detection of broken htpasswd file entries
     # detection of broken htpasswd file entries
     def test_htpasswd_broken(self) -> None:
     def test_htpasswd_broken(self) -> None:
-        for userpass in ["tmp:", ":tmp" ]:
+        for userpass in ["tmp:", ":tmp"]:
             try:
             try:
                 self._test_htpasswd("plain", userpass)
                 self._test_htpasswd("plain", userpass)
             except RuntimeError:
             except RuntimeError: