Report generated on 18-Oct-2019 at 15:33:36

Environment

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

Summary

16 tests ran in 1.71 seconds.

(Un)check the boxes to filter the results.

16 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 -----------------------------
[18/Oct/2019:15:33:35] ENGINE Listening for SIGHUP. [18/Oct/2019:15:33:35] ENGINE Listening for SIGTERM. [18/Oct/2019:15:33:35] ENGINE Listening for SIGUSR1. [18/Oct/2019:15:33:35] ENGINE Bus STARTING [18/Oct/2019:15:33:35] ENGINE Started monitor thread 'Autoreloader'. [18/Oct/2019:15:33:35] ENGINE Serving on https://0.0.0.0:4443 [18/Oct/2019:15:33:35] ENGINE Bus STARTED ------------------------------ Captured log setup ------------------------------
_cplogging.py 222 INFO [18/Oct/2019:15:33:35] ENGINE Listening for SIGHUP. _cplogging.py 222 INFO [18/Oct/2019:15:33:35] ENGINE Listening for SIGTERM. _cplogging.py 222 INFO [18/Oct/2019:15:33:35] ENGINE Listening for SIGUSR1. _cplogging.py 222 INFO [18/Oct/2019:15:33:35] ENGINE Bus STARTING _cplogging.py 222 INFO [18/Oct/2019:15:33:35] ENGINE Started monitor thread 'Autoreloader'. _cplogging.py 222 INFO [18/Oct/2019:15:33:35] ENGINE Serving on https://0.0.0.0:4443 _cplogging.py 222 INFO [18/Oct/2019:15:33:35] 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\nConnection: keep-alive\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nUser-Agent: python-requests/2.22.0\r\nContent-Type: application/json; charset=utf-8\r\nAuthorization: Bearer none\r\nContent-Length: 139\r\n\r\n' send: b'{"GlobalParameters": {"a_name": "x", "b_name": "y"}, "Inputs": {"input": {"ColumnNames": ["x", "y"], "Values": [[1, 0], [2, 5], [3, 10]]}}}' adding columns 127.0.0.1 - - [18/Oct/2019:15:33:35] "POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1" 200 105 "" "python-requests/2.22.0" reply: 'HTTP/1.1 200 OK\r\n' header: Content-Length header: Content-Type header: Allow header: Date header: Server ----------------------------- Captured stderr call -----------------------------
[18/Oct/2019:15:33:35] [a_plus_b] was asked to execute with params {'details': 'true', 'api-version': '2.0'} ------------------------------ Captured log call -------------------------------
_cplogging.py 222 INFO [18/Oct/2019:15:33:35] [a_plus_b] was asked to execute with params {'details': 'true', 'api-version': '2.0'} dummy_api_and_core.py 38 INFO adding columns _cplogging.py 292 INFO 127.0.0.1 - - [18/Oct/2019:15:33:35] "POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1" 200 105 "" "python-requests/2.22.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\nConnection: keep-alive\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nUser-Agent: python-requests/2.22.0\r\nContent-Type: application/json; charset=utf-8\r\nAuthorization: Bearer none\r\nContent-Length: 130\r\n\r\n' send: b'{"GlobalParameters": {"a_name": "x", "b_name": "y"}, "Inputs": {"input": [{"x": 1, "y": 0}, {"x": 2, "y": 5}, {"x": 3, "y": 10}]}}' adding columns 127.0.0.1 - - [18/Oct/2019:15:33:35] "POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1" 200 90 "" "python-requests/2.22.0" reply: 'HTTP/1.1 200 OK\r\n' header: Content-Length header: Content-Type header: Allow header: Date header: Server ----------------------------- Captured stderr call -----------------------------
[18/Oct/2019:15:33:35] [a_plus_b] was asked to execute with params {'details': 'true', 'api-version': '2.0', 'format': 'swagger'} ------------------------------ Captured log call -------------------------------
_cplogging.py 222 INFO [18/Oct/2019:15:33:35] [a_plus_b] was asked to execute with params {'details': 'true', 'api-version': '2.0', 'format': 'swagger'} dummy_api_and_core.py 38 INFO adding columns _cplogging.py 292 INFO 127.0.0.1 - - [18/Oct/2019:15:33:35] "POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1" 200 90 "" "python-requests/2.22.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.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\nConnection: keep-alive\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nUser-Agent: python-requests/2.22.0\r\nContent-Type: application/json; charset=utf-8\r\nAuthorization: Bearer none\r\nContent-Length: 139\r\n\r\n' send: b'{"GlobalParameters": {"a_name": "x", "b_name": "y"}, "Inputs": {"input": {"ColumnNames": ["x", "y"], "Values": [[1, 0], [2, 5], [3, 10]]}}}' adding columns 127.0.0.1 - - [18/Oct/2019:15:33:36] "POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1" 200 105 "" "python-requests/2.22.0" reply: 'HTTP/1.1 200 OK\r\n' header: Content-Length header: Content-Type header: Allow header: Date header: Server ----------------------------- Captured stderr call -----------------------------
[18/Oct/2019:15:33:36] [a_plus_b] was asked to execute with params {'details': 'true', 'api-version': '2.0'} ------------------------------ Captured log call -------------------------------
_cplogging.py 222 INFO [18/Oct/2019:15:33:36] [a_plus_b] was asked to execute with params {'details': 'true', 'api-version': '2.0'} dummy_api_and_core.py 38 INFO adding columns _cplogging.py 292 INFO 127.0.0.1 - - [18/Oct/2019:15:33:36] "POST /a_plus_b/execute?api-version=2.0&details=true HTTP/1.1" 200 105 "" "python-requests/2.22.0"
Passed azmlclient/tests/clients/test_dummy_client.py::test_client_call_simple[cfg-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\nConnection: keep-alive\r\nAccept-Encoding: gzip, deflate\r\nAccept: */*\r\nUser-Agent: python-requests/2.22.0\r\nContent-Type: application/json; charset=utf-8\r\nAuthorization: Bearer none\r\nContent-Length: 130\r\n\r\n' send: b'{"GlobalParameters": {"a_name": "x", "b_name": "y"}, "Inputs": {"input": [{"x": 1, "y": 0}, {"x": 2, "y": 5}, {"x": 3, "y": 10}]}}' adding columns 127.0.0.1 - - [18/Oct/2019:15:33:36] "POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1" 200 90 "" "python-requests/2.22.0" reply: 'HTTP/1.1 200 OK\r\n' header: Content-Length header: Content-Type header: Allow header: Date header: Server ----------------------------- Captured stderr call -----------------------------
[18/Oct/2019:15:33:36] [a_plus_b] was asked to execute with params {'details': 'true', 'api-version': '2.0', 'format': 'swagger'} ------------------------------ Captured log call -------------------------------
_cplogging.py 222 INFO [18/Oct/2019:15:33:36] [a_plus_b] was asked to execute with params {'details': 'true', 'api-version': '2.0', 'format': 'swagger'} dummy_api_and_core.py 38 INFO adding columns _cplogging.py 292 INFO 127.0.0.1 - - [18/Oct/2019:15:33:36] "POST /a_plus_b/execute?api-version=2.0&details=true&format=swagger HTTP/1.1" 200 90 "" "python-requests/2.22.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] 0.03
No log output captured.
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[swagger=False-dummy] 0.03
----------------------------- Captured stdout call -----------------------------
Converted df -> json: {"ColumnNames": ["Datetime", "att1_text_quotes", "att2_float", "att3_missing_text", "att4_missing_float", " att5_space_first_missing_datetime"], "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"]]}
Passed azmlclient/tests/databinding/test_databinding.py::test_df_to_json[swagger=True-dummy] 0.03
----------------------------- 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_csv[dummy] 0.03
----------------------------- 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