[add] test for dot access in PickingParameter object

This commit is contained in:
Darius Arnold 2018-05-29 19:04:51 +02:00
parent 628f335b34
commit 58191e2d8f

View File

@ -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()