mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
@@ -44,3 +44,13 @@ def test_delta_flags_delta_mode_on_non_delta_columns():
|
||||
assert not app.rtable[3].is_cell_delta('name')
|
||||
# "ibabtu" == "ibabtu", flag off
|
||||
assert not app.rtable[4].is_cell_delta('name')
|
||||
|
||||
def test_delta_flags_delta_mode_on_non_delta_columns_case_insensitive():
|
||||
# Comparison that occurs for non-numeric columns to check whether they're delta is case
|
||||
# insensitive
|
||||
app = app_with_results()
|
||||
app.app.results.groups[1].ref.name = "ibAbtu"
|
||||
app.app.results.groups[1].dupes[0].name = "IBaBTU"
|
||||
app.rtable.delta_values = True
|
||||
# "ibAbtu" == "IBaBTU", flag off
|
||||
assert not app.rtable[4].is_cell_delta('name')
|
||||
|
||||
Reference in New Issue
Block a user