Skip to content

Commit

Permalink
chore(integrationv2): add license header (#4732)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmayclin authored Aug 28, 2024
1 parent fd2e45d commit c292d09
Show file tree
Hide file tree
Showing 33 changed files with 66 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codebuild/bin/header_mistake_scanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ S2N_FILES+=$(find "$PWD"/codebuild/ -type f -name "*.sh")
S2N_FILES+=" "
S2N_FILES+=$(find "$PWD"/tests/ -type f -name "*.sh")
S2N_FILES+=" "
S2N_FILES+=$(find "$PWD"/tests/integrationv2 -type f -name "*.py")
S2N_FILES+=" "
S2N_FILES+=$(find "$PWD" -type f -name "*.rs" | grep -v target)

FAILED=0
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/common.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import os
import re
import subprocess
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/configuration.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import collections

from common import Certificates, Ciphers, Curves, Protocols, AvailablePorts
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
from global_flags import set_flag, S2N_PROVIDER_VERSION, S2N_FIPS_MODE, S2N_USE_CRITERION


Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/constants.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
TEST_CERT_DIRECTORY = "../pems/"
TEST_SNI_CERT_DIRECTORY = "../pems/sni/"
TEST_OCSP_DIRECTORY = "../pems/ocsp/"
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/fixtures.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import os
import pytest
import subprocess
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/global_flags.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# We support global configuration flags that are set via command line.
# These flags enable Providers and Tests to determine how to behave
# based on the environment.
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/processes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import os
import select
import selectors
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/providers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import os
import subprocess
import pytest
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_buffered_send.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest

from configuration import available_ports, PROTOCOLS, ALL_TEST_CIPHERS, MINIMAL_TEST_CERTS
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_client_authentication.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import pytest

Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_cross_compatibility.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest
import copy
import os
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_dynamic_record_sizes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import pytest

Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_early_data.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import os
import pytest
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_external_psk.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest

from configuration import available_ports, TLS13_CIPHERS, ALL_TEST_CURVES, ALL_TEST_CERTS
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_fragmentation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import pytest

Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_happy_path.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import platform
import pytest
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_hello_retry_requests.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import pytest
import re
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_key_update.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import pytest

Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_npn.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import pytest

Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_ocsp.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest

from configuration import available_ports, ALL_TEST_CIPHERS, ALL_TEST_CURVES, PROTOCOLS
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_pq_handshake.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest
import os

Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_record_padding.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import platform
import pytest
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_renegotiate.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import platform
import pytest
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_renegotiate_apache.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest
import tempfile

Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_serialization.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest
import copy
import os
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_session_resumption.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import os
import platform
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_signature_algorithms.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import pytest

Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_sni_match.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest

from configuration import available_ports, MULTI_CERT_TEST_CASES
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_sslyze.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest
import sslyze
import abc
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_version_negotiation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import copy
import pytest

Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/test_well_known_endpoints.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
import pytest

from constants import TRUST_STORE_BUNDLE, TRUST_STORE_TRUSTED_BUNDLE
Expand Down
2 changes: 2 additions & 0 deletions tests/integrationv2/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
from common import Protocols
from providers import S2N
from global_flags import get_flag, S2N_FIPS_MODE
Expand Down

0 comments on commit c292d09

Please sign in to comment.