[add] test for dot access in PickingParameter object
This commit is contained in:
parent
628f335b34
commit
58191e2d8f
@ -26,6 +26,10 @@ class TestPickingParameters(unittest.TestCase):
|
||||
pickparam = PickingParameters(self.simple_dict)
|
||||
self.assertParameterEquality(self.simple_dict, pickparam)
|
||||
|
||||
def test_dot_access(self):
|
||||
pickparam = PickingParameters(self.simple_dict)
|
||||
self.assertEqual(pickparam.a, self.simple_dict['a'])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
unittest.main()
|
||||
|
Loading…
Reference in New Issue
Block a user