def test_if_property_not_set_and_dir_not_exists(self, exists): self.assertFalse(_if_property_set_and_dir_exists(None)) exists.assert_not_called()
def test_if_property_set_and_dir_not_exists(self, exists): self.assertFalse(_if_property_set_and_dir_exists('test')) exists.assert_called_once_with('test')