1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-02-05 12:51:39 +00:00

[#38 state:fixed] Removed those LookupErrors. They were useless anyway.

--HG--
extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%4071
This commit is contained in:
hsoft
2009-06-18 18:13:45 +00:00
parent ede178b3ff
commit 3ada0ff89c
2 changed files with 10 additions and 16 deletions

View File

@@ -93,9 +93,10 @@ class TCDirectories(TestCase):
self.assertEqual(STATE_REFERENCE,d.states[p])
def test_GetState_with_path_not_there(self):
# When the path's not there, just return STATE_NORMAL
d = Directories()
d.add_path(testpath + 'utils')
self.assertRaises(LookupError,d.GetState,testpath)
eq_(d.GetState(testpath), STATE_NORMAL)
def test_states_remain_when_larger_directory_eat_smaller_ones(self):
d = Directories()