mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 06:37:17 +00:00
Don't consider results as modified if they're empty.
This commit is contained in:
@@ -72,6 +72,11 @@ class TestCaseResultsEmpty:
|
||||
def test_is_modified(self):
|
||||
assert not self.results.is_modified
|
||||
|
||||
def test_is_modified_after_setting_empty_group(self):
|
||||
# Don't consider results as modified if they're empty
|
||||
self.results.groups = []
|
||||
assert not self.results.is_modified
|
||||
|
||||
|
||||
class TestCaseResultsWithSomeGroups:
|
||||
def setup_method(self, method):
|
||||
|
||||
Reference in New Issue
Block a user