Skip to content

Commit

Permalink
Fixing failing test by updating test method name
Browse files Browse the repository at this point in the history
  • Loading branch information
Winterflower committed Feb 20, 2019
1 parent 753bbab commit 5e7b9e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_anonymize_it/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from anonymize_it import utils


def test_flatten():
def test_flatten_nest():
old = {
"this": {
"is": {
Expand All @@ -12,6 +12,6 @@ def test_flatten():
}
}

flattened = utils.flatten(old)
flattened = utils.flatten_nest(old)
new = {"this.is.a.test": True}
assert new == flattened
assert new == flattened

0 comments on commit 5e7b9e9

Please sign in to comment.