mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 06:37:17 +00:00
[#134 state:fixed] Removing all dupes from the results sets it in 'not modified' state.
This commit is contained in:
@@ -225,6 +225,12 @@ class TestCaseResultsWithSomeGroups:
|
||||
self.results.load_from_xml(f, get_file)
|
||||
assert not self.results.is_modified
|
||||
|
||||
def test_is_modified_after_removing_all_results(self):
|
||||
# Removing all results sets the is_modified flag to false.
|
||||
self.results.mark_all()
|
||||
self.results.perform_on_marked(lambda x:None, True)
|
||||
assert not self.results.is_modified
|
||||
|
||||
|
||||
class TestCaseResultsWithSavedResults:
|
||||
def setup_method(self, method):
|
||||
|
||||
Reference in New Issue
Block a user