From abd31e8b7fc71145d2553020da2c405f8e4cf35d Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Thu, 6 Mar 2008 13:00:58 +0000 Subject: added codec for sequence_set; added id to Message; RangeSet -> RangedSet; added RangedSet.add(lower, upper) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634255 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/python/tests/datatypes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qpid/python/tests') diff --git a/qpid/python/tests/datatypes.py b/qpid/python/tests/datatypes.py index cafd53c89f..e22e250f61 100644 --- a/qpid/python/tests/datatypes.py +++ b/qpid/python/tests/datatypes.py @@ -20,7 +20,7 @@ from unittest import TestCase from qpid.datatypes import * -class RangeSetTest(TestCase): +class RangedSetTest(TestCase): def check(self, ranges): posts = [] @@ -39,7 +39,7 @@ class RangeSetTest(TestCase): idx += 2 def test(self): - rs = RangeSet() + rs = RangedSet() self.check(rs.ranges) @@ -85,7 +85,7 @@ class RangeSetTest(TestCase): rs.add(-3) self.check(rs.ranges) - rs.add_range(Range(1, 20)) + rs.add(1, 20) assert 21 not in rs assert 20 in rs self.check(rs.ranges) -- cgit v1.2.1