Skip to content

Commit 6e8d99d

Browse files
committed
Remove bogus test
Fix cli
1 parent 5d8a040 commit 6e8d99d

File tree

3 files changed

+4
-210
lines changed

3 files changed

+4
-210
lines changed

auth/cli/key_upload.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,13 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import base64
1615
import json
17-
import logging
18-
import os
1916
from contextlib import suppress
20-
from datetime import datetime
2117

2218
import gcsfs
2319
from absl import app, flags
24-
from auth.credentials_helpers import encode_key
2520

21+
from auth.credentials_helpers import encode_key
2622

2723
FLAGS = flags.FLAGS
2824
flags.DEFINE_string('project', None, 'GCP Project.')

auth/cli/key_upload_test.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@
1414

1515
import json
1616
import unittest
17+
from copy import deepcopy
1718
from unittest import mock
1819

19-
from auth import local_datastore
20+
import key_upload
2021
from classes.report_type import Type
21-
from cli import key_upload
2222

23-
from copy import deepcopy
24-
from typing import Any, Callable, Dict, Mapping
23+
from auth import local_datastore
2524

2625
CLASS_UNDER_TEST = 'cli.key_upload'
2726

@@ -70,4 +69,3 @@ def test_good_encoded(self):
7069

7170
mock_method.assert_called_with(type=Type._ADMIN, id='a2V5',
7271
new_data=expected)
73-

auth/datastore/cloud_storage_test.py

-200
This file was deleted.

0 commit comments

Comments
 (0)