mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-16 03:26:43 +01:00
sort imports
This commit is contained in:
parent
f4ab540283
commit
9ab33bd02b
4 changed files with 7 additions and 7 deletions
|
|
@ -52,13 +52,12 @@ import sys
|
||||||
import urllib.parse as urlparse
|
import urllib.parse as urlparse
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from operator import add
|
from operator import add
|
||||||
from typing import TextIO, Any, TypedDict
|
from typing import Any, TextIO, TypedDict
|
||||||
|
|
||||||
from qrcode import QRCode # type: ignore
|
from qrcode import QRCode # type: ignore
|
||||||
|
|
||||||
import protobuf_generated_python.google_auth_pb2 as pb
|
import protobuf_generated_python.google_auth_pb2 as pb
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import cv2 # type: ignore
|
import cv2 # type: ignore
|
||||||
import numpy
|
import numpy
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,8 @@
|
||||||
|
|
||||||
import io
|
import io
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
import pathlib
|
import pathlib
|
||||||
|
import sys
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from pytest_mock import MockerFixture
|
from pytest_mock import MockerFixture
|
||||||
|
|
|
||||||
|
|
@ -18,14 +18,15 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import unittest
|
|
||||||
import io
|
import io
|
||||||
from contextlib import redirect_stdout
|
|
||||||
from utils import read_csv, read_json, remove_file, remove_dir_with_files, Capturing, read_file_to_str
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import unittest
|
||||||
|
from contextlib import redirect_stdout
|
||||||
|
|
||||||
import extract_otp_secret_keys
|
import extract_otp_secret_keys
|
||||||
|
from utils import (Capturing, read_csv, read_file_to_str, read_json,
|
||||||
|
remove_dir_with_files, remove_file)
|
||||||
|
|
||||||
|
|
||||||
class TestExtract(unittest.TestCase):
|
class TestExtract(unittest.TestCase):
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,9 @@
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
from utils import Capturing
|
|
||||||
|
|
||||||
import extract_otp_secret_keys
|
import extract_otp_secret_keys
|
||||||
|
from utils import Capturing
|
||||||
|
|
||||||
|
|
||||||
class TestQRImageExtract(unittest.TestCase):
|
class TestQRImageExtract(unittest.TestCase):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue