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
74b30d8c
Commit
74b30d8c
authored
Nov 28, 2012
by
Alexander Kryklia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed no-longer relevant template params
parent
2865c7ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
common/lib/capa/capa/tests/test_inputtypes.py
+1
-5
No files found.
common/lib/capa/capa/tests/test_inputtypes.py
View file @
74b30d8c
...
@@ -407,13 +407,11 @@ class CrystallographyTest(unittest.TestCase):
...
@@ -407,13 +407,11 @@ class CrystallographyTest(unittest.TestCase):
def
test_rendering
(
self
):
def
test_rendering
(
self
):
height
=
'12'
height
=
'12'
width
=
'33'
width
=
'33'
size
=
'10'
xml_str
=
"""<crystallography id="prob_1_2"
xml_str
=
"""<crystallography id="prob_1_2"
height="{h}"
height="{h}"
width="{w}"
width="{w}"
size="{s}"
/>"""
.
format
(
h
=
height
,
w
=
width
)
/>"""
.
format
(
h
=
height
,
w
=
width
,
s
=
size
)
element
=
etree
.
fromstring
(
xml_str
)
element
=
etree
.
fromstring
(
xml_str
)
...
@@ -428,9 +426,7 @@ class CrystallographyTest(unittest.TestCase):
...
@@ -428,9 +426,7 @@ class CrystallographyTest(unittest.TestCase):
expected
=
{
'id'
:
'prob_1_2'
,
expected
=
{
'id'
:
'prob_1_2'
,
'value'
:
value
,
'value'
:
value
,
'status'
:
'unsubmitted'
,
'status'
:
'unsubmitted'
,
'size'
:
size
,
'msg'
:
''
,
'msg'
:
''
,
'hidden'
:
''
,
'width'
:
width
,
'width'
:
width
,
'height'
:
height
,
'height'
:
height
,
}
}
...
...
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