def test_hash_equal(self): p = StoragePolicy(1, [], []) self.assertEqual(hash(Configuration([p])), hash(Configuration([p])))
def test_ne(self): self.assertNotEqual(Configuration([StoragePolicy(1, [], [])]), Configuration([]))
def test_ne_not_implemented(self): self.assertNotEqual(Configuration([]), 1)
def test_eq_not_implemented(self): self.assertFalse(Configuration([]) == 1)