add check for container_id
@@ -15,6 +15,10 @@ def test_Collector():
endpoint.endpoint_data = {'mac': '00:00:00:00:00:00'}
a = Collector(endpoint)
a.start_vent_collector()
- a.stop_vent_collector()
a.get_vent_collectors()
a.host_has_active_collectors('foo')
+ endpoint = Endpoint('foo')
+ endpoint.endpoint_data = {
+ 'mac': '00:00:00:00:00:00', 'container_id': 'foo'}
+ a = Collector(endpoint)
+ a.stop_vent_collector()
