def test_get(self):
    api = Field(config=self.config)
    res = api.get(name='field1')
    res_expected = {'name': 'field1', 'transforms': {}, 'product': 'WaterWolf'}
    eq_(res, res_expected)
    res = api.get(name='field2')
    res_expected = {'name': 'field2', 'transforms': {'processor': 'some notes'}, 'product': 'WaterWolf'}
    eq_(res, res_expected)
    res = api.get(name='i-do-not-exist')
    res_expected = {'name': None, 'transforms': None, 'product': None}
    eq_(res, res_expected)
    assert_raises(MissingArgumentError, api.get)
def test_get(self):
    api = Field(config=self.config)
    res = api.get(name='field1')
    res_expected = {'name': 'field1', 'transforms': {}, 'product': 'WaterWolf'}
    eq_(res, res_expected)
    res = api.get(name='field2')
    res_expected = {'name': 'field2', 'transforms': {'processor': 'some notes'}, 'product': 'WaterWolf'}
    eq_(res, res_expected)
    res = api.get(name='i-do-not-exist')
    res_expected = {'name': None, 'transforms': None, 'product': None}
    eq_(res, res_expected)
    assert_raises(MissingArgumentError, api.get)