The ceilometer.tests.unit.publisher.test_udp Module

The ceilometer.tests.unit.publisher.test_udp Module

Tests for ceilometer/publisher/udp.py

class ceilometer.tests.unit.publisher.test_udp.TestUDPPublisher(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_data = [<name: test, volume: 1, resource_id: test_run_tasks, timestamp: 2020-05-29T08:30:33.921442>, <name: test, volume: 1, resource_id: test_run_tasks, timestamp: 2020-05-29T08:30:33.921557>, <name: test2, volume: 1, resource_id: test_run_tasks, timestamp: 2020-05-29T08:30:33.921601>, <name: test2, volume: 1, resource_id: test_run_tasks, timestamp: 2020-05-29T08:30:33.921640>, <name: test3, volume: 1, resource_id: test_run_tasks, timestamp: 2020-05-29T08:30:33.921677>]
test_publish_error()[source]
test_published()[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.