def test_try_read(self): m = {'foo': 'bar'} self.assertIsNone(Converter.read_from_dict(m, 'baz'))
def test_illegal_degree(self): dic = {'gps_latitude': 'a'} self.assertIsNone(Converter.read_from_dict(dic, 'gps_latitude'))
def value(self, key) -> str: """ This method returns the value for a given key. """ return Converter.read_from_dict(self.image, key)