Skip to content

Commit

Permalink
test:refactor: test_auth0_client
Browse files Browse the repository at this point in the history
  • Loading branch information
Romazes committed Sep 20, 2024
1 parent f3364d5 commit 11a8bcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/components/api/test_auth0_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import responses
from unittest import mock
from lean.constants import API_BASE_URL
from components.api.test_clients import create_api_client
from lean.components.api.api_client import APIClient
from lean.components.util.http_client import HTTPClient


@responses.activate
def test_auth0client() -> None:
os.environ.setdefault("QC_API", "local")
api_clint = create_api_client()
api_clint = APIClient(mock.Mock(), HTTPClient(mock.Mock()), user_id="123", api_token="abc")

responses.add(
responses.POST,
Expand Down

0 comments on commit 11a8bcf

Please sign in to comment.