44from app .models .task import Task
55from app .routes .route_utilities import create_model , validate_model
66
7- # @pytest.mark.skip(reason="No way to test this feature yet")
7+ @pytest .mark .skip (reason = "No way to test this feature yet" )
88def test_route_utilities_validate_model_with_task (client , three_tasks ):
99 #Act
1010 task_1 = validate_model (Task , 1 )
@@ -23,7 +23,7 @@ def test_route_utilities_validate_model_with_task(client, three_tasks):
2323 assert task_3 .id == 3
2424 assert task_3 .title == "Pay my outstanding tickets 😭"
2525
26- # @pytest.mark.skip(reason="No way to test this feature yet")
26+ @pytest .mark .skip (reason = "No way to test this feature yet" )
2727def test_route_utilities_validate_model_with_goal (client , one_goal ):
2828 #Act
2929 goal_1 = validate_model (Goal , 1 )
@@ -32,7 +32,7 @@ def test_route_utilities_validate_model_with_goal(client, one_goal):
3232 assert goal_1 .id == 1
3333 assert goal_1 .title == "Build a habit of going outside daily"
3434
35- # @pytest.mark.skip(reason="No way to test this feature yet")
35+ @pytest .mark .skip (reason = "No way to test this feature yet" )
3636def test_route_utilities_create_model_with_task (client ):
3737 #Arrange
3838 request_body = {
@@ -51,7 +51,7 @@ def test_route_utilities_create_model_with_task(client):
5151 assert response [0 ]["is_complete" ] == False
5252 assert response [1 ] == 201
5353
54- # @pytest.mark.skip(reason="No way to test this feature yet")
54+ @pytest .mark .skip (reason = "No way to test this feature yet" )
5555def test_route_utilities_create_model_with_goal (client ):
5656 #Arrange
5757 request_body = {
0 commit comments