[conduit: 106/138] Extra info in assert
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit: 106/138] Extra info in assert
- Date: Thu, 21 May 2009 03:35:49 -0400 (EDT)
commit 182340e41b7bc434c9aa1f701b9a9a70a7d692c1
Author: John Carr <john carr unrouted co uk>
Date: Tue May 5 16:22:00 2009 -0700
Extra info in assert
---
test/soup/test_synchronization.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/soup/test_synchronization.py b/test/soup/test_synchronization.py
index 680fd2d..89c17a9 100644
--- a/test/soup/test_synchronization.py
+++ b/test/soup/test_synchronization.py
@@ -51,7 +51,7 @@ def make_testcase(src, src_data, snk, snk_data):
def check_state(self, expected):
source_count, sink_count = self.source.get_num_items(), self.sink.get_num_items()
assert source_count == sink_count, "source has %d, sink has %d, expected %d" % (source_count, sink_count, expected)
- assert source_count == expected
+ assert source_count == expected, "dataproviders have %d, expected %d" % (source_count, expected)
def test_empty_sync(self):
""" test empty synchronisation """
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]