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
ee637c58
Commit
ee637c58
authored
Feb 08, 2016
by
muzaffaryousaf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set notes page size to 25
TNL-4108
parent
ea89d2ee
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
common/test/acceptance/tests/lms/test_lms_edxnotes.py
+0
-0
lms/djangoapps/edxnotes/helpers.py
+1
-1
lms/djangoapps/edxnotes/tests.py
+2
-2
No files found.
common/test/acceptance/tests/lms/test_lms_edxnotes.py
View file @
ee637c58
This diff is collapsed.
Click to expand it.
lms/djangoapps/edxnotes/helpers.py
View file @
ee637c58
...
@@ -34,7 +34,7 @@ log = logging.getLogger(__name__)
...
@@ -34,7 +34,7 @@ log = logging.getLogger(__name__)
# OAuth2 Client name for edxnotes
# OAuth2 Client name for edxnotes
CLIENT_NAME
=
"edx-notes"
CLIENT_NAME
=
"edx-notes"
DEFAULT_PAGE
=
1
DEFAULT_PAGE
=
1
DEFAULT_PAGE_SIZE
=
10
DEFAULT_PAGE_SIZE
=
25
class
NoteJSONEncoder
(
JSONEncoder
):
class
NoteJSONEncoder
(
JSONEncoder
):
...
...
lms/djangoapps/edxnotes/tests.py
View file @
ee637c58
...
@@ -781,7 +781,7 @@ class EdxNotesHelpersTest(ModuleStoreTestCase):
...
@@ -781,7 +781,7 @@ class EdxNotesHelpersTest(ModuleStoreTestCase):
"text"
:
"text"
,
"text"
:
"text"
,
"highlight"
:
True
,
"highlight"
:
True
,
'page'
:
1
,
'page'
:
1
,
'page_size'
:
10
,
'page_size'
:
25
,
}
}
)
)
...
@@ -797,7 +797,7 @@ class EdxNotesHelpersTest(ModuleStoreTestCase):
...
@@ -797,7 +797,7 @@ class EdxNotesHelpersTest(ModuleStoreTestCase):
mock_get_id_token
.
return_value
=
"test_token"
mock_get_id_token
.
return_value
=
"test_token"
mock_anonymous_id_for_user
.
return_value
=
"anonymous_id"
mock_anonymous_id_for_user
.
return_value
=
"anonymous_id"
helpers
.
send_request
(
helpers
.
send_request
(
self
.
user
,
self
.
course
.
id
,
path
=
"test"
,
page
=
1
,
page_size
=
10
self
.
user
,
self
.
course
.
id
,
path
=
"test"
,
page
=
1
,
page_size
=
25
)
)
mock_get
.
assert_called_with
(
mock_get
.
assert_called_with
(
"http://example.com/test/"
,
"http://example.com/test/"
,
...
...
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