MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / test_telemetry_opt_out

Method test_telemetry_opt_out

tests/test_telemetry.py:95–101  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

93 self.fail('Recevied HTTP Error when validating payload against vortex.')
94
95 def test_telemetry_opt_out(self):
96 test_telemetry_client = self.build_telemetry_client()
97 os.environ[test_telemetry_client.MSSQL_CLI_TELEMETRY_OPT_OUT] = 'True'
98
99 test_telemetry_client.start()
100 payload = test_telemetry_client.conclude()
101 self.assertIsNone(payload, 'Payload was uploaded when client opted out.')
102
103 def test_file_time_check_rotation(self):
104 test_telemetry_client = self.build_telemetry_client()

Callers

nothing calls this directly

Calls 2

startMethod · 0.80

Tested by

no test coverage detected