Skip to content

Commit

Permalink
Use relative imports in adapter code
Browse files Browse the repository at this point in the history
  • Loading branch information
tysmith committed May 29, 2024
1 parent 63096dd commit 517c74e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
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

0 comments on commit 517c74e

Please sign in to comment.