Skip to content

Commit

Permalink
add log details
Browse files Browse the repository at this point in the history
  • Loading branch information
cyber-pioneer committed Jan 24, 2025
1 parent b1404fa commit 06152f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_generate_endpoint(self):
response = requests.post(url, headers=headers, json=test_data)

self.assertEqual(response.status_code, 200,
f"Expected status code 200, got {response.status_code}. Response: {response}")
f"Expected status code 200, got {response.status_code}. Response: {response.json()}")

self.assertGreater(len(response.text), 0,
"Generated text should not be empty")
Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/functional_tests/test_model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ run_command() {
return 0
}


source tests/scripts/_gpu_check.sh

# Path to the YAML configuration file
Expand Down Expand Up @@ -119,6 +118,7 @@ test_model() {
exit 1
fi
fi

# Ensure that pytest check is completed before deleting the folder
sleep 10s
done
Expand Down

0 comments on commit 06152f7

Please sign in to comment.