patch to extract license data

Nathan Kinkade nkinkade at creativecommons.org
Fri Jan 4 08:39:26 EST 2008


2007/12/21, Nathan Kinkade <nkinkade at creativecommons.org>:
> 2007/12/19, Sam Ruby <rubys at intertwingly.net>:
> > Nathan Kinkade wrote:
> > >
> > > Was the Python
> > > unit test for this plugin acceptable?
> >
> > Looking at the plugin, it appears to depend on BeautifulSoup.  As not
> > everybody will have that installed (Venus includes html5lib) the test
> > case needs to check to see if BeautifulSoup is installed and (if not)
> > issue a warning and skip the tests.
> >
> > - Sam Ruby
>
> The unit test for this plugin should be all functional now.  I had
> forgot to update the test when I made the changes to the plugin.  I
> also added a check to the test that looks for BeautifulSoup and it
> will fail if it can't import it.
>
> I'm not dead-set on the idea of using BeautifulSoup, though I find it
> an incredibly useful and easy to use tool.  I played around a little
> with html5lib, but it wasn't readily apparent to me how to use it in
> the same capacity that I'm currently using BeautifulSoup.  The
> documentation seems spare, to say the least.
>
> All of my most current changes are locally checked into the same bzr
> checkout as before:
>
> http://planet.creativecommons.org:8080/~nkinkade/venus/
>
> Hopefully we are getting somewhere now.
>
> Thanks,  Nathan

Just pinging the list one more time on the issue above.

Sam, does the unit test work now as you would expect?  Is there
anything that is missing regarding the changes to tmpl.py or with the
plugin?

Thanks,

Nathan


More information about the devel mailing list