fixes sublime.package_path() called on import time, causing invalid or unexpected output paths being used.
use setUp() and tearDow() methods to setup and cleanup packages used for self tests in a batch per TestCase in order to prevent or reduce risk of possible race conditions or failing API calls due to too frequent package reloading or removing events.
optimize availability check for ColorSchemeUnit package
This commit...
sublime.package_path()
called on import time, causing invalid or unexpected output paths being used.setUp()
andtearDow()
methods to setup and cleanup packages used for self tests in a batch perTestCase
in order to prevent or reduce risk of possible race conditions or failing API calls due to too frequent package reloading or removing events.