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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user