fix: remove submit_uuid
from telemetry config profile
the `submit_url` should be all we expect by default, since even that has no built-in behavior yet
This commit is contained in:
parent
7b6dbac1fa
commit
e0dd704247
3 changed files with 2 additions and 15 deletions
|
@ -187,13 +187,10 @@ class TestTelemetryProfile(ConfigTestCase):
|
|||
profile = self.make_profile()
|
||||
self.assertEqual(profile.collect_keys, ['os', 'python'])
|
||||
self.assertIsNone(profile.submit_url)
|
||||
self.assertIsNone(profile.submit_uuid)
|
||||
|
||||
# configured
|
||||
self.config.setdefault('wutta.telemetry.default.collect.keys', 'os,network,python')
|
||||
self.config.setdefault('wutta.telemetry.default.submit.url', '/nodes/telemetry')
|
||||
self.config.setdefault('wutta.telemetry.default.submit.uuid', '06897669-272b-7c74-8000-4d311924d24f')
|
||||
profile = self.make_profile()
|
||||
self.assertEqual(profile.collect_keys, ['os', 'network', 'python'])
|
||||
self.assertEqual(profile.submit_url, '/nodes/telemetry')
|
||||
self.assertEqual(profile.submit_uuid, '06897669-272b-7c74-8000-4d311924d24f')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue