Skip to content

Commit 12aef53

Browse files
committed
tests: Move unit tests to unit module
Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent 035ef32 commit 12aef53

40 files changed

Lines changed: 19 additions & 18 deletions

‎patchwork/tests/__init__.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
TEST_MAIL_DIR = os.path.join(os.path.dirname(__file__), 'mail')
1010
TEST_PATCH_DIR = os.path.join(os.path.dirname(__file__), 'patches')
1111
TEST_FUZZ_DIR = os.path.join(os.path.dirname(__file__), 'fuzztests')
12+
TEST_SERIES_DIR = os.path.join(os.path.dirname(__file__), 'series')
1213

1314
# configure warnings
1415

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from rest_framework import status
1010

1111
from patchwork.models import Bundle
12-
from patchwork.tests.api import utils
12+
from patchwork.tests.unit.api import utils
1313
from patchwork.tests.utils import create_bundle
1414
from patchwork.tests.utils import create_maintainer
1515
from patchwork.tests.utils import create_patch
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from rest_framework import status
99

1010
from patchwork.models import Check
11-
from patchwork.tests.api import utils
11+
from patchwork.tests.unit.api import utils
1212
from patchwork.tests.utils import create_check
1313
from patchwork.tests.utils import create_patch
1414
from patchwork.tests.utils import create_maintainer
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from patchwork.models import PatchComment
1212
from patchwork.models import CoverComment
13-
from patchwork.tests.api import utils
13+
from patchwork.tests.unit.api import utils
1414
from patchwork.tests.utils import create_cover
1515
from patchwork.tests.utils import create_cover_comment
1616
from patchwork.tests.utils import create_patch
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from django.urls import reverse
1111
from rest_framework import status
1212

13-
from patchwork.tests.api import utils
13+
from patchwork.tests.unit.api import utils
1414
from patchwork.tests.utils import create_cover
1515
from patchwork.tests.utils import create_covers
1616
from patchwork.tests.utils import create_maintainer
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from rest_framework import status
99

1010
from patchwork.models import Event
11-
from patchwork.tests.api import utils
11+
from patchwork.tests.unit.api import utils
1212
from patchwork.tests.utils import create_check
1313
from patchwork.tests.utils import create_cover
1414
from patchwork.tests.utils import create_cover_comment
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from rest_framework import status
1313

1414
from patchwork.models import Patch
15-
from patchwork.tests.api import utils
15+
from patchwork.tests.unit.api import utils
1616
from patchwork.tests.utils import create_maintainer
1717
from patchwork.tests.utils import create_patch
1818
from patchwork.tests.utils import create_patches
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from django.urls import reverse
99
from rest_framework import status
1010

11-
from patchwork.tests.api import utils
11+
from patchwork.tests.unit.api import utils
1212
from patchwork.tests.utils import create_maintainer
1313
from patchwork.tests.utils import create_person
1414
from patchwork.tests.utils import create_user

0 commit comments

Comments
 (0)