summaryrefslogtreecommitdiff
path: root/test/units/inventory/test_host.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/units/inventory/test_host.py')
-rw-r--r--test/units/inventory/test_host.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/units/inventory/test_host.py b/test/units/inventory/test_host.py
index c8f47714..712ed302 100644
--- a/test/units/inventory/test_host.py
+++ b/test/units/inventory/test_host.py
@@ -69,10 +69,10 @@ class TestHost(unittest.TestCase):
def test_equals_none(self):
other = None
- self.hostA == other
- other == self.hostA
- self.hostA != other
- other != self.hostA
+ assert not (self.hostA == other)
+ assert not (other == self.hostA)
+ assert self.hostA != other
+ assert other != self.hostA
self.assertNotEqual(self.hostA, other)
def test_serialize(self):