Skip to content

Commit

Permalink
hmmmmm
Browse files Browse the repository at this point in the history
  • Loading branch information
jbothma committed Jun 13, 2024
1 parent 1127667 commit 94498a1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_xref.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import logging
import re

from normality import collapse_spaces
from nomenklatura.dataset.dataset import Dataset
Expand Down Expand Up @@ -86,9 +86,9 @@ def test_xref_potential_conflicts(

assert "Potential conflicting matches found:" in stdout, stdout
assert "Candidate:\nc\n" in stdout, stdout
assert "Left side of negative decision:\nb\n" in stdout, stdout
assert "Right side of negative decision:\na\n" in stdout, stdout
flat = collapse_spaces(stdout)
assert a.get("name")[0] in flat, flat
assert b.get("name")[0] in flat, flat
assert c.get("name")[0] in flat, flat
assert re.search(r"Left side of negative decision: (b|a)", flat), stdout
assert re.search(r"Right side of negative decision: (b|a)", flat), stdout
assert a.get("name")[0] in flat, stdout
assert b.get("name")[0] in flat, stdout
assert c.get("name")[0] in flat, stdout

0 comments on commit 94498a1

Please sign in to comment.