On Monday 29 January 2007 19:03, Oleg Broytmann wrote:
> I am going to add the following tests:
>
> def test_dict():
> assert sqlrepr({"key": "value"}, "sqlite") == "('key')"
>
> def test_sets():
> try:
> set
> except NameError:
> pass
> else:
> assert sqlrepr(set([1])) == "(1)"
> try:
> from sets import Set
> except ImportError:
> pass
> else:
> assert sqlrepr(Set([1])) == "(1)"
>
> Any opinion?
They seem fine. Thanks.
--
Dan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss