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
6e68789c
Commit
6e68789c
authored
Jun 23, 2014
by
Matt Drayer
Committed by
Jonathan Piacenti
Aug 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test_migrate_orgdata.py
parent
a3eff5ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lms/djangoapps/api_manager/management/commands/tests/test_migrate_orgdata.py
+2
-2
No files found.
lms/djangoapps/api_manager/management/commands/tests/test_migrate_orgdata.py
View file @
6e68789c
...
@@ -33,7 +33,7 @@ class MigrateOrgDataTests(TestCase):
...
@@ -33,7 +33,7 @@ class MigrateOrgDataTests(TestCase):
profile
,
_
=
GroupProfile
.
objects
.
get_or_create
(
profile
,
_
=
GroupProfile
.
objects
.
get_or_create
(
group_id
=
group
.
id
,
group_id
=
group
.
id
,
group_type
=
group_type
,
group_type
=
group_type
,
name
=
group
_name
,
name
=
group
data
[
'name'
]
,
data
=
json
.
dumps
(
groupdata
)
data
=
json
.
dumps
(
groupdata
)
)
)
user
=
User
.
objects
.
create
(
email
=
'user1@edx.org'
,
username
=
'user1'
,
password
=
'user1'
)
user
=
User
.
objects
.
create
(
email
=
'user1@edx.org'
,
username
=
'user1'
,
password
=
'user1'
)
...
@@ -56,7 +56,7 @@ class MigrateOrgDataTests(TestCase):
...
@@ -56,7 +56,7 @@ class MigrateOrgDataTests(TestCase):
profile2
,
_
=
GroupProfile
.
objects
.
get_or_create
(
profile2
,
_
=
GroupProfile
.
objects
.
get_or_create
(
group_id
=
group2
.
id
,
group_id
=
group2
.
id
,
group_type
=
group2_type
,
group_type
=
group2_type
,
name
=
group
2_name
,
name
=
group
data
[
'name'
]
,
data
=
json
.
dumps
(
groupdata
)
data
=
json
.
dumps
(
groupdata
)
)
)
user2
=
User
.
objects
.
create
(
email
=
'user2@edx.org'
,
username
=
'user2'
,
password
=
'user2'
)
user2
=
User
.
objects
.
create
(
email
=
'user2@edx.org'
,
username
=
'user2'
,
password
=
'user2'
)
...
...
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