cc-4105: fixed some bugs. fixed manager tests

This commit is contained in:
Rudi Grinberg 2012-08-01 17:46:47 -04:00
parent ba78731f99
commit f7b48a4dbb
9 changed files with 37 additions and 26 deletions

View file

@ -20,16 +20,9 @@ class TestManager(unittest.TestCase):
def test_organize_path(self):
man = Manager()
man.set_organize_path( self.opath )
self.assertEqual( man.organize_path, self.opath )
self.assertEqual( man.get_organize_path(), self.opath )
man.set_organize_path( self.ppath )
self.assertEqual( man.organize_path, self.ppath )
def test_store_path(self):
man = Manager()
man.set_store_path( self.opath )
self.assertEqual( man.store_path, self.opath )
man.set_store_path( self.ppath )
self.assertEqual( man.store_path, self.ppath )
self.assertEqual( man.get_organize_path(), self.ppath )
def test_add_watch_directory(self):
man = Manager()