From 24708eb30afd593a407b49f5eddaef9bb730d686 Mon Sep 17 00:00:00 2001 From: Matt Beach Date: Thu, 11 Apr 2024 14:41:49 -0400 Subject: [PATCH] fix: change paths --- src/braket/reservations/__init__.py | 15 +++++++++++++++ .../reservations.py} | 0 .../test_reservations.py} | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/braket/reservations/__init__.py rename src/braket/{aws/aws_reservation.py => reservations/reservations.py} (100%) rename test/unit_tests/braket/{aws/test_aws_reservation.py => reservations/test_reservations.py} (97%) diff --git a/src/braket/reservations/__init__.py b/src/braket/reservations/__init__.py new file mode 100644 index 000000000..8c049d0b0 --- /dev/null +++ b/src/braket/reservations/__init__.py @@ -0,0 +1,15 @@ +# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). You +# may not use this file except in compliance with the License. A copy of +# the License is located at +# +# http://aws.amazon.com/apache2.0/ +# +# or in the "license" file accompanying this file. This file 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. + + +from braket.reservations.reservations import Reservation # noqa: F401 \ No newline at end of file diff --git a/src/braket/aws/aws_reservation.py b/src/braket/reservations/reservations.py similarity index 100% rename from src/braket/aws/aws_reservation.py rename to src/braket/reservations/reservations.py diff --git a/test/unit_tests/braket/aws/test_aws_reservation.py b/test/unit_tests/braket/reservations/test_reservations.py similarity index 97% rename from test/unit_tests/braket/aws/test_aws_reservation.py rename to test/unit_tests/braket/reservations/test_reservations.py index 45da3bbfd..3b13f736e 100644 --- a/test/unit_tests/braket/aws/test_aws_reservation.py +++ b/test/unit_tests/braket/reservations/test_reservations.py @@ -16,7 +16,7 @@ import pytest from braket.aws.aws_device import AwsDevice, AwsDeviceType -from braket.aws.aws_reservation import Reservation +from braket.reservations import Reservation from braket.devices.local_simulator import LocalSimulator