Skip to content

Commit

Permalink
apply black and flake
Browse files Browse the repository at this point in the history
  • Loading branch information
francescofuggitti committed May 25, 2023
1 parent c65cd38 commit 3cf98dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_predicate.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,22 @@ def setup_method(self):
self.equal_to = EqualTo(self.left, self.right)

def test_left(self):
"""Test left getter."""
assert self.equal_to.left == self.left

def test_right(self):
"""Test right getter."""
assert self.equal_to.right == self.right

def test_to_equal(self):
"""Test to equal."""
other = EqualTo(self.left, self.right)
assert self.equal_to == other

def test_to_str(self):
"""Test to string."""
assert str(self.equal_to) == f"(= {str(self.left)} {str(self.right)})"

def test_to_repr(self):
assert repr(self.equal_to) == f"EqualTo({repr(self.left)}, {repr(self.right)})"
"""Test to repr."""
assert repr(self.equal_to) == f"EqualTo({repr(self.left)}, {repr(self.right)})"

0 comments on commit 3cf98dc

Please sign in to comment.