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

[#138] Added a prompt label and a remove button to the reprioritization dialog (Qt).

This commit is contained in:
Virgil Dupras
2011-09-12 11:05:53 -04:00
parent 90f9493ccc
commit cf606a494c
3 changed files with 41 additions and 4 deletions

View File

@@ -111,6 +111,17 @@ def test_reorder_prioritizations(app):
]
eq_(app.pdialog.prioritization_list[:], expected)
@with_app(app_normal_results)
def test_remove_crit_from_list(app):
app.add_pri_criterion("Kind", 0)
app.add_pri_criterion("Kind", 1)
app.pdialog.prioritization_list.select(0)
app.pdialog.remove_selected()
expected = [
"Kind (ext2)",
]
eq_(app.pdialog.prioritization_list[:], expected)
#---
def app_one_name_ends_with_number():
dupes = [