Skip to content

Commit

Permalink
move expected result data
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Oct 19, 2017
1 parent 6fa4e59 commit 0ee1d99
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions qcodes/tests/test_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,7 @@ def test_default_attributes(self):
snap_expected = {
'name': name,
'label': name,
'unit': '',
'value': [[1, 2, 3], [4, 5, 6]]
'unit': ''
}
for k, v in snap_expected.items():
self.assertEqual(snap[k], v)
Expand Down Expand Up @@ -306,7 +305,8 @@ def test_explicit_attributes(self):
'unit': unit,
'setpoint_names': setpoint_names,
'setpoint_labels': setpoint_labels,
'metadata': metadata
'metadata': metadata,
'value': [6, 7]
}
for k, v in snap_expected.items():
self.assertEqual(snap[k], v)
Expand Down Expand Up @@ -401,8 +401,7 @@ def test_default_attributes(self):
'name': name,
'names': names,
'labels': names,
'units': [''] * 3,
'value': [0, [1, 2, 3], [[4, 5], [6, 7]]]
'units': [''] * 3
}
for k, v in snap_expected.items():
self.assertEqual(snap[k], v)
Expand Down Expand Up @@ -452,7 +451,8 @@ def test_explicit_attributes(self):
'units': units,
'setpoint_names': setpoint_names,
'setpoint_labels': setpoint_labels,
'metadata': metadata
'metadata': metadata,
'value': [0, [1, 2, 3], [[4, 5], [6, 7]]]
}
for k, v in snap_expected.items():
self.assertEqual(snap[k], v)
Expand Down

0 comments on commit 0ee1d99

Please sign in to comment.