Skip to content

Commit

Permalink
refactor: Added license on top of test serializer and fixed import
Browse files Browse the repository at this point in the history
  • Loading branch information
davidblain-infrabel committed Mar 14, 2024
1 parent a32d7df commit 04d6b85
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
16 changes: 16 additions & 0 deletions tests/providers/microsoft/azure/serializer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
20 changes: 18 additions & 2 deletions tests/providers/microsoft/azure/serializer/test_serializer.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import locale
from base64 import b64encode, b64decode
from datetime import datetime
from uuid import uuid4

import pendulum
from airflow.providers.microsoft.msgraph.serialization.serializer import ResponseSerializer

from tests.unit.conftest import load_json, load_file
from airflow.providers.microsoft.azure.serialization.serializer import ResponseSerializer
from tests.providers.microsoft.conftest import load_json, load_file


class TestResponseSerializer:
Expand Down

0 comments on commit 04d6b85

Please sign in to comment.