Skip to content

Commit a43e02c

Browse files
generatedunixname89002005232357facebook-github-bot
authored andcommitted
Revert D61530831
Summary: This diff reverts D61530831 This broke upstream: https://github.com/facebookincubator/kernel-patches-daemon/actions/runs/10515811894/job/29136674454 Likely because the kernel.kernel_patches_daemon.oss namespace is unknown to github. Reviewed By: danielocfb Differential Revision: D61820778 fbshipit-source-id: 131935998c3d0f279f60c81005aab402a15c6b68
1 parent 109b2be commit a43e02c

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
@@ -22,12 +22,6 @@
2222

2323
from freezegun import freeze_time
2424
from git.exc import GitCommandError
25-
26-
from kernel.kernel_patches_daemon.oss.tests.common.patchwork_mock import (
27-
DEFAULT_TEST_RESPONSES,
28-
get_default_pw_client,
29-
init_pw_responses,
30-
)
3125
from kernel_patches_daemon.branch_worker import (
3226
_series_already_applied,
3327
ALREADY_MERGED_LOOKBACK,
@@ -49,6 +43,12 @@
4943
from kernel_patches_daemon.status import Status
5044
from munch import Munch, munchify
5145

46+
from tests.common.patchwork_mock import (
47+
DEFAULT_TEST_RESPONSES,
48+
get_default_pw_client,
49+
init_pw_responses,
50+
)
51+
5252
from . import read_fixture
5353

5454

tests/test_patchwork.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@
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
1923

20-
from kernel.kernel_patches_daemon.oss.tests.common.patchwork_mock import (
24+
from tests.common.patchwork_mock import (
2125
DEFAULT_CHECK_CTX,
2226
DEFAULT_CHECK_CTX_QUERY,
2327
DEFAULT_FREEZE_DATE,
@@ -28,10 +32,6 @@
2832
get_dict_key,
2933
init_pw_responses,
3034
)
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)