Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use relative imports in adapter code #438

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions grizzly/adapter/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
from pathlib import Path
from typing import Any, Dict, Generator, Optional, Tuple, final

from grizzly.common.storage import TestCase
from grizzly.common.utils import DEFAULT_TIME_LIMIT, HARNESS_FILE
from grizzly.target.target_monitor import TargetMonitor
from sapphire import ServerMap

from ..common.storage import TestCase
from ..common.utils import DEFAULT_TIME_LIMIT, HARNESS_FILE
from ..target.target_monitor import TargetMonitor

__all__ = ("Adapter", "AdapterError")
__author__ = "Tyson Smith"
__credits__ = ["Tyson Smith"]
Expand Down
5 changes: 3 additions & 2 deletions grizzly/adapter/no_op_adapter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@

from typing import Optional

from grizzly.adapter import Adapter
from grizzly.common.storage import TestCase
from sapphire import ServerMap

from ...common.storage import TestCase
from ..adapter import Adapter

__author__ = "Tyson Smith"
__credits__ = ["Tyson Smith"]

Expand Down
3 changes: 1 addition & 2 deletions grizzly/adapter/no_op_adapter/test_no_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from grizzly.common.storage import TestCase

from ...common.storage import TestCase
from . import NoOpAdapter


Expand Down
Loading