Exemplo n.º 1
0
 def test_from_queryable_dict(self, m_fqv):
     """Call Cultivar.from_queryable_values with dict values."""
     d = {'Cultivar Name': 'Foxy',
          'Common Name': 'Foxglove',
          'Index': 'Perennial'}
     Cultivar.from_queryable_dict(d)
     m_fqv.assert_called_with(name='Foxy',
                              common_name='Foxglove',
                              index='Perennial')