Maybe I'm doing something wrong here, definitely not the most experienced
unit tester.

I've got a class, in the constructor it loads a CSV file from disc.  I'd
like only 1 instance of the class to be instantiated.  However, when running
multiple unit tests, multiple instances of the class are created.  What's
the best way for me to avoid this?  It takes about a few seconds to load the
CSV file.
-- 
Jonathan Haddad
http://www.rustyrazorblade.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to