Skip to content

Commit 3f91b83

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
removing base_module] fbcode/kernel/kernel_patches_daemon/oss/tests/TARGETS
Reviewed By: azad-meta Differential Revision: D64533041 fbshipit-source-id: 9b2f96c5e566713438362ffc32b1d4cc88b92669
1 parent 50d4c03 commit 3f91b83

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

tests/test_branch_worker.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323

2424
from freezegun import freeze_time
2525
from git.exc import GitCommandError
26+
27+
from kernel.kernel_patches_daemon.oss.tests.common.patchwork_mock import (
28+
DEFAULT_TEST_RESPONSES,
29+
get_default_pw_client,
30+
init_pw_responses,
31+
)
2632
from kernel_patches_daemon.branch_worker import (
2733
_is_branch_changed,
2834
_series_already_applied,
@@ -45,12 +51,6 @@
4551
from kernel_patches_daemon.status import Status
4652
from munch import Munch, munchify
4753

48-
from tests.common.patchwork_mock import (
49-
DEFAULT_TEST_RESPONSES,
50-
get_default_pw_client,
51-
init_pw_responses,
52-
)
53-
5454
from . import read_fixture
5555

5656

tests/test_patchwork.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,8 @@
1616
from aioresponses import aioresponses
1717

1818
from freezegun import freeze_time
19-
from kernel_patches_daemon.patchwork import parse_tags, RELEVANT_STATES, Subject, TTL
20-
from kernel_patches_daemon.status import Status
21-
from multidict import MultiDict
22-
from pyre_extensions import none_throws
2319

24-
from tests.common.patchwork_mock import (
20+
from kernel.kernel_patches_daemon.oss.tests.common.patchwork_mock import (
2521
DEFAULT_CHECK_CTX,
2622
DEFAULT_CHECK_CTX_QUERY,
2723
DEFAULT_FREEZE_DATE,
@@ -32,6 +28,10 @@
3228
get_dict_key,
3329
init_pw_responses,
3430
)
31+
from kernel_patches_daemon.patchwork import parse_tags, RELEVANT_STATES, Subject, TTL
32+
from kernel_patches_daemon.status import Status
33+
from multidict import MultiDict
34+
from pyre_extensions import none_throws
3535

3636

3737
class PatchworkTestCase(unittest.IsolatedAsyncioTestCase):

0 commit comments

Comments
 (0)