Skip to content

Commit

Permalink
TST: fix calls to properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mj-will committed Dec 2, 2024
1 parent 05514b7 commit ac816ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/gw/prior_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ def test_is_cosmological_true(self):
self.bbh_prior_dict["luminosity_distance"] = bilby.gw.prior.UniformComovingVolume(
minimum=10, maximum=10000, name="luminosity_distance"
)
self.assertTrue(self.bbh_prior_dict.is_cosmological())
self.assertTrue(self.bbh_prior_dict.is_cosmological)

def test_is_cosmological_false(self):
del self.bbh_prior_dict["luminosity_distance"]
self.assertFalse(self.bbh_prior_dict.is_cosmological())
self.assertFalse(self.bbh_prior_dict.is_cosmological)

def test_check_valid_cosmology(self):
self.bbh_prior_dict["luminosity_distance"] = bilby.gw.prior.UniformComovingVolume(
Expand Down

0 comments on commit ac816ec

Please sign in to comment.