[Developers] freebase-python: bug in tests
Chris Eppstein
chris at eppsteins.net
Sun Jan 13 23:24:08 UTC 2008
1) Freebase is collaborative, so you can change the data.
2) Unit tests shouldn't rely on an external datasource. Integration
tests might...
-chris
On Jan 13, 2008, at 1:09 PM, Vishal Talwar wrote:
> Hi all,
>
> This message is for the developers of the freebase-python module. I
> just tried running the tests that come along with the module and I
> noticed the read test fails:
>
> def test_read(self):
> query = {'type':'/music/artist','id':[{}],'name':'Sting',
> 'album':[{}]}
>
> mss = HTTPMetawebSession(API_HOST)
>
> result = mss.mqlread(query)
> self.assertNotEqual(None, result)
>
> Sting is no longer a musical artist in Freebase (he was at the time
> of the last update), so this should be fixed.
>
> Thanks,
> Vishal
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list