diff --git a/tests/test_bloom_filter.py b/tests/test_bloom_filter.py index 0c4b22b..f850dce 100644 --- a/tests/test_bloom_filter.py +++ b/tests/test_bloom_filter.py @@ -10,21 +10,21 @@ def test_basic(self): layer_size=32000000, ) - self.assertEqual(filter.false_positive_rate, 0) + self.assertEqual(filter.false_positive_rate(), 0) self.assertFalse(filter.exists('foo')) filter.insert('foo') self.assertTrue(filter.exists('foo')) - self.assertGreater(filter.false_positive_rate, 0) + self.assertGreater(filter.false_positive_rate(), 0) self.assertFalse(filter.exists('bar')) filter.insert('bar') self.assertTrue(filter.exists('bar')) - self.assertGreater(filter.false_positive_rate, 0) + self.assertGreater(filter.false_positive_rate(), 0) def test_exists_or_insert(self): filter = pybloomer.BloomFilter(