1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2026-01-22 06:37:17 +00:00

[#86 state:fixed] Fixed a crash in GetOutlineViewValues.

This commit is contained in:
Virgil Dupras
2010-02-05 18:16:05 +01:00
parent b372974437
commit cd9b7f2f11
2 changed files with 4 additions and 1 deletions

View File

@@ -303,7 +303,10 @@ class TCDupeGuru(TestCase):
# Out of range requests don't crash and return an empty value
app = self.app
# [0, 2] is out of range
# Directories
eq_(app.GetOutlineViewValues(1, [0, 2]), []) # no crash
# Normal results
app.GetOutlineViewValues(0, [42, 0]) # no crash
class TCDupeGuru_renameSelected(TestCase):