def test_find_function(test_input): """Test that the find function fails as expected""" assert len(con.find(test_input)) == 0
def test_find_function(this_key): """Test that the find function works for all the keys""" assert len(con.find(this_key)) >= 1
def test_find_all(): assert isinstance(con.find(), list) assert len(con.find()) == 34
def test_find_function3(test_input): """ Test that the find function fails as expected. """ assert len(con.find(test_input)) == 0
def test_find_function2(this_key): """ Test that the find function works for all the keys. """ assert len(con.find(this_key)) >= 1
from sunpy.sun import constants print(constants.mass) # Verify the average density of the Sun and convert to cgs (constants.mass/constants.volume).cgs # Search for the age of the Sun constants.find("age") constants.value('age'), constants.unit('age')