Commit 74b30d8c by Alexander Kryklia

removed no-longer relevant template params

parent 2865c7ca
...@@ -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,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment