[Flickrfs-users] status of tests, and unicode bug
Brought to you by:
manishrjain
From: <rdm...@bi...> - 2006-02-13 01:48:15
|
OK, so I've got the tests to a point where I think I'm comfortable starting the refactoring work. The only thing I haven't done that I want/need is to test uploading an image with non-ASCII chars. I tried such a test, but I got a UnicodeDecodeError during the .encode('utf8') step, which makes no sense to me from anything I've read in the python docs or from google. Maybe I didn't write the test correctly (you can see what I tried, commented out, in the test file). Can someone with unicode/UTF8 experience check this out and see if you can find the fix? Also, I've got some other lines commented out in the tests. I expected that after I uploaded the test image it would show up in tags/personal like it shows up in /stream. But it didn't. One time I forgot to delete the test image before the next run, and that time it _did_ show up. So at this point I'm assuming its non-appearance is due to some sort of processing delay at the flickr end. If anyone knows different, please let me know. In the meantime the tests are expecting the observed behavior. --David |