From 9f39d5197c98bba25be239bb9e3603002cbc40c9 Mon Sep 17 00:00:00 2001 From: J Dark Date: Tue, 31 Oct 2023 17:40:52 -0400 Subject: [PATCH] update docs --- test/test_h_transport_problem.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/test_h_transport_problem.py b/test/test_h_transport_problem.py index caa712fdd..85003b167 100644 --- a/test/test_h_transport_problem.py +++ b/test/test_h_transport_problem.py @@ -52,13 +52,10 @@ def test_time_dependent_temperature_attribute(input, expected_value): def test_define_temperature_value_error_raised(): - """Test that the define_temperature method correctly sets the - temperature_fenics attribute to either a fem.Constant or a - fem.Function and raise a ValueError temperature is None""" + """Test that a ValueError is rasied when the temperature is None""" # BUILD my_model = F.HydrogenTransportProblem(mesh=test_mesh) - my_model.t = fem.Constant(test_mesh.mesh, 0.0) my_model.temperature = None @@ -85,7 +82,7 @@ def test_define_temperature_value_error_raised(): def test_define_temperature(input, expected_type): """Test that the define_temperature method correctly sets the temperature_fenics attribute to either a fem.Constant or a - fem.Function""" + fem.Function depending on the type of input""" # BUILD my_model = F.HydrogenTransportProblem(mesh=test_mesh)