Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshg999 committed Mar 11, 2024
1 parent 048518d commit 740ee47
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions desktop/core/src/desktop/lib/sdxaas/knox_jwt_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import sys
import unittest

from unittest.mock import patch, Mock
from nose.tools import assert_equal, assert_raises

from desktop.conf import SDXAAS
from desktop.lib.sdxaas.knox_jwt import handle_knox_ha, fetch_jwt
from desktop.lib.exceptions_renderable import PopupException

if sys.version_info[0] > 2:
from unittest.mock import patch, Mock
else:
from mock import patch, Mock


def test_handle_knox_ha():
with patch('desktop.lib.sdxaas.knox_jwt.requests_kerberos.HTTPKerberosAuth') as HTTPKerberosAuth:
Expand Down

0 comments on commit 740ee47

Please sign in to comment.