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
a74ba6b9
Commit
a74ba6b9
authored
Jul 07, 2014
by
Don Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make pictures smaller
parent
173be7d2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
4 deletions
+1
-4
common/lib/xmodule/xmodule/modulestore/tests/test_contentstore.py
+1
-4
common/test/data/static/picture1.jpg
+0
-0
common/test/data/static/picture2.jpg
+0
-0
common/test/data/static/picture3.jpg
+0
-0
No files found.
common/lib/xmodule/xmodule/modulestore/tests/test_contentstore.py
View file @
a74ba6b9
...
...
@@ -154,10 +154,7 @@ class TestContentstore(unittest.TestCase):
course1_assets
,
count
=
self
.
contentstore
.
get_all_content_for_course
(
self
.
course1_key
)
self
.
assertEqual
(
count
,
len
(
self
.
course1_files
),
course1_assets
)
for
asset
in
course1_assets
:
if
deprecated
:
parsed
=
AssetLocation
.
from_deprecated_string
(
asset
[
'filename'
])
else
:
parsed
=
AssetLocation
.
from_string
(
asset
[
'filename'
])
parsed
=
AssetLocation
.
from_deprecated_string
(
asset
[
'filename'
])
self
.
assertIn
(
parsed
.
name
,
self
.
course1_files
)
course1_assets
,
__
=
self
.
contentstore
.
get_all_content_for_course
(
self
.
course1_key
,
1
,
1
)
...
...
common/test/data/static/picture1.jpg
View replaced file @
173be7d2
View file @
a74ba6b9
357 KB
|
W:
|
H:
10.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
common/test/data/static/picture2.jpg
View replaced file @
173be7d2
View file @
a74ba6b9
414 KB
|
W:
|
H:
13.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
common/test/data/static/picture3.jpg
View replaced file @
173be7d2
View file @
a74ba6b9
This diff is collapsed.
Click to expand it.
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