Report generated on 25-Apr-2020 at 13:10:10

Environment

Platform Linux-4.15.0-1028-gcp-x86_64-with-debian-stretch-sid
Python 3.5.6

Summary

29 tests ran in 1.57 seconds.

(Un)check the boxes to filter the results.

29 passed 2 skipped 0 failed 0 errors 0 expected failures 0 unexpected passes 0 rerun

Results

Result Test Duration Links
Passed azmlclient/tests/clients/test_configs.py::test_empty_cfg 0.01
No log output captured.
Passed azmlclient/tests/clients/test_configs.py::test_full_cfg 0.01
No log output captured.
Passed azmlclient/tests/clients/test_dummy_client.py::test_client_call_simple[yaml-call_mode=local-swagger_format=None] 0.01
---------------------------- Captured stderr setup -----------------------------
[25/Apr/2020:13:10:10] ENGINE Listening for SIGTERM. [25/Apr/2020:13:10:10] ENGINE Listening for SIGUSR1. [25/Apr/2020:13:10:10] ENGINE Listening for SIGHUP. [25/Apr/2020:13:10:10] ENGINE Bus STARTING [25/Apr/2020:13:10:10] ENGINE Started monitor thread 'Autoreloader'. [25/Apr/2020:13:10:10] ENGINE Serving on https://0.0.0.0:4443 [25/Apr/2020:13:10:10] ENGINE Bus STARTED ------------------------------ Captured log setup ------------------------------
_cplogging.py 222 INFO [25/Apr/2020:13:10:10] ENGINE Listening for SIGTERM. _cplogging.py 222 INFO [25/Apr/2020:13:10:10] ENGINE Listening for SIGUSR1. _cplogging.py 222 INFO [25/Apr/2020:13:10:10] ENGINE Listening for SIGHUP. _cplogging.py 222 INFO [25/Apr/2020:13:10:10] ENGINE Bus STARTING _cplogging.py 222 INFO [25/Apr/2020:13:10:10] ENGINE Started monitor thread 'Autoreloader'. _cplogging.py 222 INFO [25/Apr/2020:13:10:10] ENGINE Serving on https://0.0.0.0:4443 _cplogging.py 222 INFO [25/Apr/2020:13:10:10] ENGINE Bus STARTED----------------------------- Captured stdout call -----------------------------
adding columns ------------------------------ Captured log call -------------------------------
dummy_api_and_core.py 38 INFO adding columns
Passed azmlclient/tests/clients/test_dummy_client.py::test_client_call_simple[yaml-call_mode=RR-swagger_format=False] 0.02
----------------------------- Captured stdout call -----------------------------
send: b'POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1\r\nHost: localhost:4443\r\nUser-Agent: python-requests/2.23.0\r\nConnection: keep-alive\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nContent-Type: application/json; charset=utf-8\r\nAuthorization: Bearer none\r\nContent-Length: 139\r\n\r\n' send: b'{"Inputs": {"input": {"Values": [[1, 0], [2, 5], [3, 10]], "ColumnNames": ["x", "y"]}}, "GlobalParameters": {"b_name": "y", "a_name": "x"}}' adding columns 127.0.0.1 - - [25/Apr/2020:13:10:10] "POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1" 200 105 "" "python-requests/2.23.0" reply: 'HTTP/1.1 200 OK\r\n' header: Allow header: Content-Type header: Date header: Server header: Content-Length ----------------------------- Captured stderr call -----------------------------
[25/Apr/2020:13:10:10] [a_plus_b] was asked to execute with params {'api-version': '2.0', 'details': 'true'} ------------------------------ Captured log call -------------------------------
_cplogging.py 222 INFO [25/Apr/2020:13:10:10] [a_plus_b] was asked to execute with params {'api-version': '2.0', 'details': 'true'} dummy_api_and_core.py 38 INFO adding columns _cplogging.py 292 INFO 127.0.0.1 - - [25/Apr/2020:13:10:10] "POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1" 200 105 "" "python-requests/2.23.0"
Passed azmlclient/tests/clients/test_dummy_client.py::test_client_call_simple[yaml-call_mode=RR-swagger_format=True] 0.02
----------------------------- Captured stdout call -----------------------------
send: b'POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1\r\nHost: localhost:4443\r\nUser-Agent: python-requests/2.23.0\r\nConnection: keep-alive\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nContent-Type: application/json; charset=utf-8\r\nAuthorization: Bearer none\r\nContent-Length: 130\r\n\r\n' send: b'{"Inputs": {"input": [{"x": 1, "y": 0}, {"x": 2, "y": 5}, {"x": 3, "y": 10}]}, "GlobalParameters": {"b_name": "y", "a_name": "x"}}' adding columns 127.0.0.1 - - [25/Apr/2020:13:10:10] "POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1" 200 90 "" "python-requests/2.23.0" reply: 'HTTP/1.1 200 OK\r\n' header: Allow header: Content-Type header: Date header: Server header: Content-Length ----------------------------- Captured stderr call -----------------------------
[25/Apr/2020:13:10:10] [a_plus_b] was asked to execute with params {'format': 'swagger', 'api-version': '2.0', 'details': 'true'} ------------------------------ Captured log call -------------------------------
_cplogging.py 222 INFO [25/Apr/2020:13:10:10] [a_plus_b] was asked to execute with params {'format': 'swagger', 'api-version': '2.0', 'details': 'true'} dummy_api_and_core.py 38 INFO adding columns _cplogging.py 292 INFO 127.0.0.1 - - [25/Apr/2020:13:10:10] "POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1" 200 90 "" "python-requests/2.23.0"
Skipped azmlclient/tests/clients/test_dummy_client.py::test_client_call_simple[yaml-call_mode=Batch-swagger_format=None] 0.00
('/home/travis/build/smarie/python-azureml-client/azmlclient/tests/clients/test_dummy_client.py', 90, 'Skipped: Batch mode is not implemented on this mock server.')
Passed azmlclient/tests/clients/test_dummy_client.py::test_client_call_simple[cfg-call_mode=local-swagger_format=None] 0.00
----------------------------- Captured stdout call -----------------------------
adding columns ------------------------------ Captured log call -------------------------------
dummy_api_and_core.py 38 INFO adding columns
Passed azmlclient/tests/clients/test_dummy_client.py::test_client_call_simple[cfg-call_mode=RR-swagger_format=False] 0.01
----------------------------- Captured stdout call -----------------------------
send: b'POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1\r\nHost: localhost:4443\r\nUser-Agent: python-requests/2.23.0\r\nConnection: keep-alive\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nContent-Type: application/json; charset=utf-8\r\nAuthorization: Bearer none\r\nContent-Length: 139\r\n\r\n' send: b'{"Inputs": {"input": {"Values": [[1, 0], [2, 5], [3, 10]], "ColumnNames": ["x", "y"]}}, "GlobalParameters": {"b_name": "y", "a_name": "x"}}' adding columns 127.0.0.1 - - [25/Apr/2020:13:10:10] "POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1" 200 105 "" "python-requests/2.23.0" reply: 'HTTP/1.1 200 OK\r\n' header: Allow header: Content-Type header: Date header: Server header: Content-Length ----------------------------- Captured stderr call -----------------------------
[25/Apr/2020:13:10:10] [a_plus_b] was asked to execute with params {'api-version': '2.0', 'details': 'true'} ------------------------------ Captured log call -------------------------------
_cplogging.py 222 INFO [25/Apr/2020:13:10:10] [a_plus_b] was asked to execute with params {'api-version': '2.0', 'details': 'true'} dummy_api_and_core.py 38 INFO adding columns _cplogging.py 292 INFO 127.0.0.1 - - [25/Apr/2020:13:10:10] "POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1" 200 105 "" "python-requests/2.23.0"
Passed azmlclient/tests/clients/test_dummy_client.py::test_client_call_simple[cfg-call_mode=RR-swagger_format=True] 0.01
----------------------------- Captured stdout call -----------------------------
send: b'POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1\r\nHost: localhost:4443\r\nUser-Agent: python-requests/2.23.0\r\nConnection: keep-alive\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nContent-Type: application/json; charset=utf-8\r\nAuthorization: Bearer none\r\nContent-Length: 130\r\n\r\n' send: b'{"Inputs": {"input": [{"x": 1, "y": 0}, {"x": 2, "y": 5}, {"x": 3, "y": 10}]}, "GlobalParameters": {"b_name": "y", "a_name": "x"}}' adding columns 127.0.0.1 - - [25/Apr/2020:13:10:10] "POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1" 200 90 "" "python-requests/2.23.0" reply: 'HTTP/1.1 200 OK\r\n' header: Allow header: Content-Type header: Date header: Server header: Content-Length ----------------------------- Captured stderr call -----------------------------
[25/Apr/2020:13:10:10] [a_plus_b] was asked to execute with params {'format': 'swagger', 'api-version': '2.0', 'details': 'true'} ------------------------------ Captured log call -------------------------------
_cplogging.py 222 INFO [25/Apr/2020:13:10:10] [a_plus_b] was asked to execute with params {'format': 'swagger', 'api-version': '2.0', 'details': 'true'} dummy_api_and_core.py 38 INFO adding columns _cplogging.py 292 INFO 127.0.0.1 - - [25/Apr/2020:13:10:10] "POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1" 200 90 "" "python-requests/2.23.0"
Skipped azmlclient/tests/clients/test_dummy_client.py::test_client_call_simple[cfg-call_mode=Batch-swagger_format=None] 0.00
('/home/travis/build/smarie/python-azureml-client/azmlclient/tests/clients/test_dummy_client.py', 90, 'Skipped: Batch mode is not implemented on this mock server.')
Passed azmlclient/tests/clients/test_dummy_client.py::test_client_call_remote_only[yaml] 0.00
No log output captured.
Passed azmlclient/tests/clients/test_dummy_client.py::test_client_call_remote_only[cfg] 0.00
No log output captured.
Passed azmlclient/tests/clients/test_readme.py::test_readme_high_level_basic 0.02
No log output captured.
Passed azmlclient/tests/clients/test_readme.py::test_readme_high_level_local 0.01
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_azmltable[dummy-replace_NaT_with=None-replace_NaN_with=None-swagger_mode_on=False] 0.03
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_azmltable[dummy-replace_NaT_with=None-replace_NaN_with=None-swagger_mode_on=True] 0.02
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_azmltable[dummy-replace_NaT_with=None-replace_NaN_with=null-swagger_mode_on=False] 0.02
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_azmltable[dummy-replace_NaT_with=None-replace_NaN_with=null-swagger_mode_on=True] 0.02
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_azmltable[dummy-replace_NaT_with=null-replace_NaN_with=None-swagger_mode_on=False] 0.02
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_azmltable[dummy-replace_NaT_with=null-replace_NaN_with=None-swagger_mode_on=True] 0.02
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_azmltable[dummy-replace_NaT_with=null-replace_NaN_with=null-swagger_mode_on=False] 0.02
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_azmltable[dummy-replace_NaT_with=null-replace_NaN_with=null-swagger_mode_on=True] 0.02
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[replace_NaT_with=None-replace_NaN_with=None-swagger=False-dummy] 0.02
----------------------------- Captured stdout call -----------------------------
Converted df -> json: {"Values": [["2015-10-09T07:30:00+00:00", "fo,o", 2.0, NaN, NaN, "NaT"], ["2015-10-09T08:30:00+00:00", "'bar'", -0.1, "'bar'", -0.1, "2015-10-09T08:30:00+00:00"]], "ColumnNames": ["Datetime", "att1_text_quotes", "att2_float", "att3_missing_text", "att4_missing_float", " att5_space_first_missing_datetime"]}
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[replace_NaT_with=None-replace_NaN_with=None-swagger=True-dummy] 0.02
----------------------------- Captured stdout call -----------------------------
Converted df -> json: [{"Datetime": "2015-10-09T07:30:00+00:00", "att1_text_quotes": "fo,o", "att2_float": 2.0, "att3_missing_text": NaN, "att4_missing_float": NaN, " att5_space_first_missing_datetime": "NaT"}, {"Datetime": "2015-10-09T08:30:00+00:00", "att1_text_quotes": "'bar'", "att2_float": -0.1, "att3_missing_text": "'bar'", "att4_missing_float": -0.1, " att5_space_first_missing_datetime": "2015-10-09T08:30:00+00:00"}]
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[replace_NaT_with=None-replace_NaN_with=null-swagger=False-dummy] 0.02
----------------------------- Captured stdout call -----------------------------
Converted df -> json: {"Values": [["2015-10-09T07:30:00+00:00", "fo,o", 2.0, "null", "null", "NaT"], ["2015-10-09T08:30:00+00:00", "'bar'", -0.1, "'bar'", -0.1, "2015-10-09T08:30:00+00:00"]], "ColumnNames": ["Datetime", "att1_text_quotes", "att2_float", "att3_missing_text", "att4_missing_float", " att5_space_first_missing_datetime"]}
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[replace_NaT_with=None-replace_NaN_with=null-swagger=True-dummy] 0.02
----------------------------- Captured stdout call -----------------------------
Converted df -> json: [{"Datetime": "2015-10-09T07:30:00+00:00", "att1_text_quotes": "fo,o", "att2_float": 2.0, "att3_missing_text": "null", "att4_missing_float": "null", " att5_space_first_missing_datetime": "NaT"}, {"Datetime": "2015-10-09T08:30:00+00:00", "att1_text_quotes": "'bar'", "att2_float": -0.1, "att3_missing_text": "'bar'", "att4_missing_float": -0.1, " att5_space_first_missing_datetime": "2015-10-09T08:30:00+00:00"}]
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[replace_NaT_with=null-replace_NaN_with=None-swagger=False-dummy] 0.02
----------------------------- Captured stdout call -----------------------------
Converted df -> json: {"Values": [["2015-10-09T07:30:00+00:00", "fo,o", 2.0, NaN, NaN, "null"], ["2015-10-09T08:30:00+00:00", "'bar'", -0.1, "'bar'", -0.1, "2015-10-09T08:30:00+00:00"]], "ColumnNames": ["Datetime", "att1_text_quotes", "att2_float", "att3_missing_text", "att4_missing_float", " att5_space_first_missing_datetime"]}
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[replace_NaT_with=null-replace_NaN_with=None-swagger=True-dummy] 0.02
----------------------------- Captured stdout call -----------------------------
Converted df -> json: [{"Datetime": "2015-10-09T07:30:00+00:00", "att1_text_quotes": "fo,o", "att2_float": 2.0, "att3_missing_text": NaN, "att4_missing_float": NaN, " att5_space_first_missing_datetime": "null"}, {"Datetime": "2015-10-09T08:30:00+00:00", "att1_text_quotes": "'bar'", "att2_float": -0.1, "att3_missing_text": "'bar'", "att4_missing_float": -0.1, " att5_space_first_missing_datetime": "2015-10-09T08:30:00+00:00"}]
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[replace_NaT_with=null-replace_NaN_with=null-swagger=False-dummy] 0.02
----------------------------- Captured stdout call -----------------------------
Converted df -> json: {"Values": [["2015-10-09T07:30:00+00:00", "fo,o", 2.0, "null", "null", "null"], ["2015-10-09T08:30:00+00:00", "'bar'", -0.1, "'bar'", -0.1, "2015-10-09T08:30:00+00:00"]], "ColumnNames": ["Datetime", "att1_text_quotes", "att2_float", "att3_missing_text", "att4_missing_float", " att5_space_first_missing_datetime"]}
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[replace_NaT_with=null-replace_NaN_with=null-swagger=True-dummy] 0.02
----------------------------- Captured stdout call -----------------------------
Converted df -> json: [{"Datetime": "2015-10-09T07:30:00+00:00", "att1_text_quotes": "fo,o", "att2_float": 2.0, "att3_missing_text": "null", "att4_missing_float": "null", " att5_space_first_missing_datetime": "null"}, {"Datetime": "2015-10-09T08:30:00+00:00", "att1_text_quotes": "'bar'", "att2_float": -0.1, "att3_missing_text": "'bar'", "att4_missing_float": -0.1, " att5_space_first_missing_datetime": "2015-10-09T08:30:00+00:00"}]
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_csv[dummy] 0.02
----------------------------- Captured stdout call -----------------------------
Converted df -> csv: Datetime,att1_text_quotes,att2_float,att3_missing_text,att4_missing_float, att5_space_first_missing_datetime 2015-10-09T07:30:00.000+0000,"fo,o",2.0,,, 2015-10-09T08:30:00.000+0000,'bar',-0.1,'bar',-0.1,2015-10-09T08:30:00.000+0000