Format long calls

This commit is contained in:
Christophe Bedard 2019-06-03 11:42:23 +02:00
parent 6296fc0016
commit 9dcac8ad3d
5 changed files with 30 additions and 5 deletions

View file

@ -18,7 +18,12 @@ class TestNode(unittest.TestCase):
session_name_prefix = 'session-test-node-creation' session_name_prefix = 'session-test-node-creation'
test_node = ['test_publisher'] test_node = ['test_publisher']
exit_code, full_path = run_and_trace(BASE_PATH, session_name_prefix, node_creation_events, None, PKG, test_node) exit_code, full_path = run_and_trace(BASE_PATH,
session_name_prefix,
node_creation_events,
None,
PKG,
test_node)
self.assertEqual(exit_code, 0) self.assertEqual(exit_code, 0)
trace_events = get_trace_event_names(full_path) trace_events = get_trace_event_names(full_path)

View file

@ -17,7 +17,12 @@ class TestPublisher(unittest.TestCase):
session_name_prefix = 'session-test-publisher-creation' session_name_prefix = 'session-test-publisher-creation'
test_node = ['test_publisher'] test_node = ['test_publisher']
exit_code, full_path = run_and_trace(BASE_PATH, session_name_prefix, publisher_creation_events, None, PKG, test_node) exit_code, full_path = run_and_trace(BASE_PATH,
session_name_prefix,
publisher_creation_events,
None,
PKG,
test_node)
self.assertEqual(exit_code, 0) self.assertEqual(exit_code, 0)
trace_events = get_trace_event_names(full_path) trace_events = get_trace_event_names(full_path)

View file

@ -18,7 +18,12 @@ class TestSubscription(unittest.TestCase):
session_name_prefix = 'session-test-subscription-creation' session_name_prefix = 'session-test-subscription-creation'
test_node = ['test_subscription'] test_node = ['test_subscription']
exit_code, full_path = run_and_trace(BASE_PATH, session_name_prefix, subscription_creation_events, None, PKG, test_node) exit_code, full_path = run_and_trace(BASE_PATH,
session_name_prefix,
subscription_creation_events,
None,
PKG,
test_node)
self.assertEqual(exit_code, 0) self.assertEqual(exit_code, 0)
trace_events = get_trace_event_names(full_path) trace_events = get_trace_event_names(full_path)

View file

@ -18,7 +18,12 @@ class TestSubscriptionCallback(unittest.TestCase):
session_name_prefix = 'session-test-subscription-callback' session_name_prefix = 'session-test-subscription-callback'
test_nodes = ['test_ping', 'test_pong'] test_nodes = ['test_ping', 'test_pong']
exit_code, full_path = run_and_trace(BASE_PATH, session_name_prefix, subscription_callback_events, None, PKG, test_nodes) exit_code, full_path = run_and_trace(BASE_PATH,
session_name_prefix,
subscription_callback_events,
None,
PKG,
test_nodes)
self.assertEqual(exit_code, 0) self.assertEqual(exit_code, 0)
trace_events = get_trace_event_names(full_path) trace_events = get_trace_event_names(full_path)

View file

@ -20,7 +20,12 @@ class TestTimer(unittest.TestCase):
session_name_prefix = 'session-test-timer-all' session_name_prefix = 'session-test-timer-all'
test_nodes = ['test_timer'] test_nodes = ['test_timer']
exit_code, full_path = run_and_trace(BASE_PATH, session_name_prefix, timer_events, None, PKG, test_nodes) exit_code, full_path = run_and_trace(BASE_PATH,
session_name_prefix,
timer_events,
None,
PKG,
test_nodes)
self.assertEqual(exit_code, 0) self.assertEqual(exit_code, 0)
trace_events = get_trace_event_names(full_path) trace_events = get_trace_event_names(full_path)