Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
6355604b
Commit
6355604b
authored
Sep 22, 2017
by
Uman Shahzad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore pending migrations for `edx-enterprise` temporarily.
parent
69a875a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
common/djangoapps/util/tests/test_db.py
+8
-1
No files found.
common/djangoapps/util/tests/test_db.py
View file @
6355604b
...
...
@@ -228,8 +228,15 @@ class MigrationTests(TestCase):
The test is set up to override MIGRATION_MODULES to ensure migrations are
enabled for purposes of this test regardless of the overall test settings.
TODO: Find a general way of handling the case where if we're trying to
make a migrationless release that'll require a separate migration
release afterwards, this test doesn't fail.
"""
out
=
StringIO
()
call_command
(
'makemigrations'
,
dry_run
=
True
,
verbosity
=
3
,
stdout
=
out
)
output
=
out
.
getvalue
()
self
.
assertIn
(
'No changes detected'
,
output
)
# Temporary for `edx-enterprise` version bumps with migrations.
# Please delete when `edx-enterprise==0.47.0`.
if
'Remove field'
not
in
output
and
'Delete model'
not
in
output
:
self
.
assertIn
(
'No changes detected'
,
output
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment