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
682ee5ea
Commit
682ee5ea
authored
Jul 25, 2016
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename helper method that was being run as a testpoint.
parent
d061b8dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openedx/core/djangoapps/bookmarks/tests/test_models.py
+3
-3
No files found.
openedx/core/djangoapps/bookmarks/tests/test_models.py
View file @
682ee5ea
...
@@ -48,9 +48,9 @@ class BookmarksTestsBase(ModuleStoreTestCase):
...
@@ -48,9 +48,9 @@ class BookmarksTestsBase(ModuleStoreTestCase):
self
.
admin
=
AdminFactory
()
self
.
admin
=
AdminFactory
()
self
.
user
=
UserFactory
.
create
(
password
=
self
.
TEST_PASSWORD
)
self
.
user
=
UserFactory
.
create
(
password
=
self
.
TEST_PASSWORD
)
self
.
other_user
=
UserFactory
.
create
(
password
=
self
.
TEST_PASSWORD
)
self
.
other_user
=
UserFactory
.
create
(
password
=
self
.
TEST_PASSWORD
)
self
.
setup_
test_
data
(
self
.
STORE_TYPE
)
self
.
setup_data
(
self
.
STORE_TYPE
)
def
setup_
test_
data
(
self
,
store_type
=
ModuleStoreEnum
.
Type
.
mongo
):
def
setup_data
(
self
,
store_type
=
ModuleStoreEnum
.
Type
.
mongo
):
""" Create courses and add some test blocks. """
""" Create courses and add some test blocks. """
with
self
.
store
.
default_store
(
store_type
):
with
self
.
store
.
default_store
(
store_type
):
...
@@ -273,7 +273,7 @@ class BookmarkModelTests(BookmarksTestsBase):
...
@@ -273,7 +273,7 @@ class BookmarkModelTests(BookmarksTestsBase):
is needed to fetch the parent blocks.
is needed to fetch the parent blocks.
"""
"""
self
.
setup_
test_
data
(
store_type
)
self
.
setup_data
(
store_type
)
user
=
UserFactory
.
create
()
user
=
UserFactory
.
create
()
expected_path
=
[
PathItem
(
expected_path
=
[
PathItem
(
...
...
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