1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

change to the _copy names for copy-constructor-like tests

This commit is contained in:
Joel Bender 2015-08-11 22:23:50 -04:00
parent ef6359c52e
commit a4ccab87bb
4 changed files with 8 additions and 8 deletions

View File

@ -109,8 +109,8 @@ class TestBoolean(unittest.TestCase):
with self.assertRaises(ValueError):
Boolean(tag)
def test_boolean_boolean(self):
if _debug: TestBoolean._debug("test_boolean_boolean")
def test_boolean_copy(self):
if _debug: TestBoolean._debug("test_boolean_copy")
obj1 = Boolean(True)
obj2 = Boolean(obj1)

View File

@ -110,8 +110,8 @@ class TestInteger(unittest.TestCase):
with self.assertRaises(ValueError):
Integer(tag)
def test_integer_integer(self):
if _debug: TestInteger._debug("test_integer_integer")
def test_integer_copy(self):
if _debug: TestInteger._debug("test_integer_copy")
obj1 = Integer(12)
obj2 = Integer(obj1)

View File

@ -93,8 +93,8 @@ class TestNull(unittest.TestCase):
obj = Null(tag)
assert obj.value == ()
def test_null_null(self):
if _debug: TestInteger._debug("test_null_null")
def test_null_copy(self):
if _debug: TestInteger._debug("test_null_copy")
obj1 = Null()
obj2 = Null(obj1)

View File

@ -109,8 +109,8 @@ class TestUnsigned(unittest.TestCase):
with self.assertRaises(ValueError):
Unsigned(tag)
def test_unsigned_unsigned(self):
if _debug: TestUnsigned._debug("test_unsigned_unsigned")
def test_unsigned_copy(self):
if _debug: TestUnsigned._debug("test_unsigned_copy")
obj1 = Unsigned(12)
obj2 = Unsigned(obj1)