Commit aed022af authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[algorithms][tests][api] Fix CXX test

The binary handling wasn't done.
parent baeea13f
Pipeline #27595 failed with stage
in 15 minutes and 59 seconds
......@@ -1063,6 +1063,16 @@ class AlgorithmCreation(AlgorithmsAPIBase):
self.assertEqual(algorithm.description, b"blah")
self.assertEqual(algorithm.language, Code.CXX)
url = reverse("api_algorithms:binary", args=["jackdoe", "valid-name1", 1])
updated_binary_file = SimpleUploadedFile(
"", AlgorithmsAPIBase.BINARY, content_type="application/octet-stream"
response =, {"binary": updated_binary_file})
self.checkResponse(response, 204)
algorithm, declaration=AlgorithmsAPIBase.CXX_DECLARATION, code=None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment