mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 01:46:24 +01:00
Add rule into upgrademodulepaths command for rewriting wagtail.tests imports
This commit is contained in:
parent
7db4714a82
commit
2c854cc929
@ -151,6 +151,7 @@ class UpdateModulePaths(Command):
|
||||
"wagtail.contrib.styleguide",
|
||||
),
|
||||
# Added in Wagtail 3.0
|
||||
(re.compile(r"\bwagtail\.tests\b"), "wagtail.test"),
|
||||
(re.compile(r"\bwagtail\.core\b"), "wagtail"),
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user